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
impl Copy for XShmSegmentInfo
impl StructuralPartialEq for XShmSegmentInfo
Auto Trait Implementations§
impl Freeze for XShmSegmentInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)