Struct x11::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_intof event
serial: c_uint§send_event: Booltrue if this came from a SendEvent request
diplay: *mut DisplayDisplay the event was read from
drawable: *mut Drawabledrawable of request
major_code: c_intShmReqCode
minor_code: c_intX_ShmPutImage
shmseg: ShmSegthe ShmSeg used in the request
offset: c_ulongthe 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<XShmCompletionEvent> for XShmCompletionEvent
impl PartialEq<XShmCompletionEvent> for XShmCompletionEvent
source§fn eq(&self, other: &XShmCompletionEvent) -> bool
fn eq(&self, other: &XShmCompletionEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.