Struct xcb::shm::CreateSegment
source · pub struct CreateSegment {
pub shmseg: Seg,
pub size: u32,
pub read_only: bool,
}
Expand description
The CreateSegment
request.
This request replies CreateSegmentReply.
Associated cookie types are CreateSegmentCookie and CreateSegmentCookieUnchecked.
Fields§
§shmseg: Seg
§size: u32
§read_only: bool
Trait Implementations§
source§impl Clone for CreateSegment
impl Clone for CreateSegment
source§fn clone(&self) -> CreateSegment
fn clone(&self) -> CreateSegment
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 CreateSegment
impl Debug for CreateSegment
source§impl RawRequest for CreateSegment
impl RawRequest for CreateSegment
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for CreateSegment
impl Request for CreateSegment
source§impl RequestWithReply for CreateSegment
impl RequestWithReply for CreateSegment
source§type Reply = CreateSegmentReply
type Reply = CreateSegmentReply
Reply associated with the request
source§type Cookie = CreateSegmentCookie
type Cookie = CreateSegmentCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = CreateSegmentCookieUnchecked
type CookieUnchecked = CreateSegmentCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for CreateSegment
impl RefUnwindSafe for CreateSegment
impl Send for CreateSegment
impl Sync for CreateSegment
impl Unpin for CreateSegment
impl UnwindSafe for CreateSegment
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
)