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<XShmSegmentInfo> for XShmSegmentInfo
impl PartialEq<XShmSegmentInfo> 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 ==
.