pub struct CompletionEvent {
pub response_type: u8,
pub sequence: u16,
pub drawable: u32,
pub minor_event: u16,
pub major_event: u8,
pub shmseg: u32,
pub offset: u32,
}
Expand description
Report that an XCB_SHM_PUT_IMAGE request has completed.
This is generated by the X server to report that an XCB_SHM_PUT_IMAGE request has been successfully processed.
§Fields
drawable
- The drawable used in the XCB_SHM_PUT_IMAGE request.minor_event
- The minor opcode used in the request. Always XCB_SHM_PUT_IMAGE.major_event
- The major opcode used in the request. Always the opcode of the MIT-SHM extension.shmseg
- The shared memory segment used in the request.offset
- The offset in the shared memory segment used in the request.
Fields§
§response_type: u8
§sequence: u16
§drawable: u32
§minor_event: u16
§major_event: u8
§shmseg: u32
§offset: u32
Trait Implementations§
source§impl Clone for CompletionEvent
impl Clone for CompletionEvent
source§fn clone(&self) -> CompletionEvent
fn clone(&self) -> CompletionEvent
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 CompletionEvent
impl Debug for CompletionEvent
source§impl Default for CompletionEvent
impl Default for CompletionEvent
source§fn default() -> CompletionEvent
fn default() -> CompletionEvent
Returns the “default value” for a type. Read more
source§impl Serialize for CompletionEvent
impl Serialize for CompletionEvent
source§impl TryParse for CompletionEvent
impl TryParse for CompletionEvent
source§fn try_parse(
initial_value: &[u8],
) -> Result<(CompletionEvent, &[u8]), ParseError>
fn try_parse( initial_value: &[u8], ) -> Result<(CompletionEvent, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for CompletionEvent
Auto Trait Implementations§
impl Freeze for CompletionEvent
impl RefUnwindSafe for CompletionEvent
impl Send for CompletionEvent
impl Sync for CompletionEvent
impl Unpin for CompletionEvent
impl UnwindSafe for CompletionEvent
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
)source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more