Struct x11rb_protocol::protocol::shm::CompletionEvent
source · pub struct CompletionEvent {
pub response_type: u8,
pub sequence: u16,
pub drawable: Drawable,
pub minor_event: u16,
pub major_event: u8,
pub shmseg: Seg,
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: Drawable
§minor_event: u16
§major_event: u8
§shmseg: Seg
§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<'de> Deserialize<'de> for CompletionEvent
impl<'de> Deserialize<'de> for CompletionEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&CompletionEvent> for [u8; 32]
impl From<&CompletionEvent> for [u8; 32]
source§fn from(input: &CompletionEvent) -> Self
fn from(input: &CompletionEvent) -> Self
Converts to this type from the input type.
source§impl From<CompletionEvent> for [u8; 32]
impl From<CompletionEvent> for [u8; 32]
source§fn from(input: CompletionEvent) -> Self
fn from(input: CompletionEvent) -> Self
Converts to this type from the input type.
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 for CompletionEvent
impl PartialEq 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 for CompletionEvent
impl PartialOrd 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 Serialize for CompletionEvent
impl Serialize for CompletionEvent
source§impl TryParse for CompletionEvent
impl TryParse for CompletionEvent
impl Copy for CompletionEvent
impl Eq for CompletionEvent
impl StructuralPartialEq 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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more