Struct x11rb_async::protocol::shm::CompletionEvent
source · 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,
}Fields§
§response_type: u8§sequence: u16§drawable: u32§minor_event: u16§major_event: u8§shmseg: u32§offset: u32Trait 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 Hash for CompletionEvent
impl Hash for CompletionEvent
source§impl Ord for CompletionEvent
impl Ord for CompletionEvent
source§fn cmp(&self, other: &CompletionEvent) -> Ordering
fn cmp(&self, other: &CompletionEvent) -> 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<CompletionEvent> for CompletionEvent
impl PartialEq<CompletionEvent> for CompletionEvent
source§fn eq(&self, other: &CompletionEvent) -> bool
fn eq(&self, other: &CompletionEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<CompletionEvent> for CompletionEvent
impl PartialOrd<CompletionEvent> for CompletionEvent
source§fn partial_cmp(&self, other: &CompletionEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &CompletionEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§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
impl Eq for CompletionEvent
impl StructuralEq for CompletionEvent
impl StructuralPartialEq for CompletionEvent
Auto Trait Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer, Global> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more