pub struct AttachRequest {
    pub shmseg: u32,
    pub shmid: u32,
    pub read_only: bool,
}Expand description
Attach a System V shared memory segment..
Attach a System V shared memory segment to the server. This will fail unless the server has permission to map the segment. The client may destroy the segment as soon as it receives a XCB_SHM_COMPLETION event with the shmseg value in this request and with the appropriate serial number.
§Fields
shmseg- A shared memory segment ID created with xcb_generate_id().shmid- The System V shared memory segment the server should map.read_only- True if the segment shall be mapped read only by the X11 server, otherwise false.
Fields§
§shmseg: u32§shmid: u32§read_only: boolImplementations§
Trait Implementations§
Source§impl Clone for AttachRequest
 
impl Clone for AttachRequest
Source§fn clone(&self) -> AttachRequest
 
fn clone(&self) -> AttachRequest
Returns a duplicate 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 AttachRequest
 
impl Debug for AttachRequest
Source§impl Default for AttachRequest
 
impl Default for AttachRequest
Source§fn default() -> AttachRequest
 
fn default() -> AttachRequest
Returns the “default value” for a type. Read more
Source§impl Hash for AttachRequest
 
impl Hash for AttachRequest
Source§impl Ord for AttachRequest
 
impl Ord for AttachRequest
Source§fn cmp(&self, other: &AttachRequest) -> Ordering
 
fn cmp(&self, other: &AttachRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AttachRequest
 
impl PartialEq for AttachRequest
Source§impl PartialOrd for AttachRequest
 
impl PartialOrd for AttachRequest
Source§impl Request for AttachRequest
 
impl Request for AttachRequest
impl Copy for AttachRequest
impl Eq for AttachRequest
impl StructuralPartialEq for AttachRequest
impl VoidRequest for AttachRequest
Auto Trait Implementations§
impl Freeze for AttachRequest
impl RefUnwindSafe for AttachRequest
impl Send for AttachRequest
impl Sync for AttachRequest
impl Unpin for AttachRequest
impl UnwindSafe for AttachRequest
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