Struct x11_dl::xshm::XShmCompletionEvent
source · #[repr(C)]pub struct XShmCompletionEvent {
pub _type: c_int,
pub serial: c_uint,
pub send_event: Bool,
pub diplay: *mut Display,
pub drawable: *mut Drawable,
pub major_code: c_int,
pub minor_code: c_int,
pub shmseg: ShmSeg,
pub offset: c_ulong,
}
Fields§
§_type: c_int
of event
serial: c_uint
§of last request processed by server
send_event: Bool
true if this came from a SendEvent request
diplay: *mut Display
Display the event was read from
drawable: *mut Drawable
drawable of request
major_code: c_int
ShmReqCode
minor_code: c_int
X_ShmPutImage
shmseg: ShmSeg
the ShmSeg used in the request
offset: c_ulong
the offset into ShmSeg used in the request
Trait Implementations§
source§impl Clone for XShmCompletionEvent
impl Clone for XShmCompletionEvent
source§fn clone(&self) -> XShmCompletionEvent
fn clone(&self) -> XShmCompletionEvent
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 XShmCompletionEvent
impl Debug for XShmCompletionEvent
source§impl PartialEq for XShmCompletionEvent
impl PartialEq for XShmCompletionEvent
impl Copy for XShmCompletionEvent
impl StructuralPartialEq for XShmCompletionEvent
Auto Trait Implementations§
impl Freeze for XShmCompletionEvent
impl RefUnwindSafe for XShmCompletionEvent
impl !Send for XShmCompletionEvent
impl !Sync for XShmCompletionEvent
impl Unpin for XShmCompletionEvent
impl UnwindSafe for XShmCompletionEvent
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
)