Struct x11rb_protocol::x11_utils::ExtensionInformation
source · pub struct ExtensionInformation {
pub major_opcode: u8,
pub first_event: u8,
pub first_error: u8,
}
Expand description
Information about a X11 extension.
Fields§
§major_opcode: u8
Major opcode used in request
first_event: u8
Lowest event number used by the extension.
first_error: u8
Lowest error number used by the extension.
Trait Implementations§
source§impl Clone for ExtensionInformation
impl Clone for ExtensionInformation
source§fn clone(&self) -> ExtensionInformation
fn clone(&self) -> ExtensionInformation
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 ExtensionInformation
impl Debug for ExtensionInformation
source§impl PartialEq for ExtensionInformation
impl PartialEq for ExtensionInformation
source§fn eq(&self, other: &ExtensionInformation) -> bool
fn eq(&self, other: &ExtensionInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExtensionInformation
impl Eq for ExtensionInformation
impl StructuralEq for ExtensionInformation
impl StructuralPartialEq for ExtensionInformation
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionInformation
impl Send for ExtensionInformation
impl Sync for ExtensionInformation
impl Unpin for ExtensionInformation
impl UnwindSafe for ExtensionInformation
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