Struct x11_dl::xshm::XShmSegmentInfo
source · #[repr(C)]pub struct XShmSegmentInfo {
pub shmseg: ShmSeg,
pub shmid: c_int,
pub shmaddr: *mut c_char,
pub readOnly: Bool,
}
Fields§
§shmseg: ShmSeg
resource id
shmid: c_int
kernel id
shmaddr: *mut c_char
address in client
readOnly: Bool
how the server should attach it
Trait Implementations§
source§impl Clone for XShmSegmentInfo
impl Clone for XShmSegmentInfo
source§fn clone(&self) -> XShmSegmentInfo
fn clone(&self) -> XShmSegmentInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XShmSegmentInfo
impl Debug for XShmSegmentInfo
source§impl PartialEq for XShmSegmentInfo
impl PartialEq for XShmSegmentInfo
source§fn eq(&self, other: &XShmSegmentInfo) -> bool
fn eq(&self, other: &XShmSegmentInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XShmSegmentInfo
impl StructuralPartialEq for XShmSegmentInfo
Auto Trait Implementations§
impl RefUnwindSafe for XShmSegmentInfo
impl !Send for XShmSegmentInfo
impl !Sync for XShmSegmentInfo
impl Unpin for XShmSegmentInfo
impl UnwindSafe for XShmSegmentInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more