Enum x11rb_protocol::protocol::xinput::XIGetPropertyItems
source · pub enum XIGetPropertyItems {
Data8(Vec<u8>),
Data16(Vec<u16>),
Data32(Vec<u32>),
InvalidValue(u8),
}
Variants§
Data8(Vec<u8>)
Data16(Vec<u16>)
Data32(Vec<u32>)
InvalidValue(u8)
This variant is returned when the server sends a discriminant value that does not match any of the defined by the protocol.
Usually, this should be considered a parsing error, but there are some cases where the server violates the protocol.
Trying to use serialize
or serialize_into
with this variant
will raise a panic.
Implementations§
Trait Implementations§
source§impl Clone for XIGetPropertyItems
impl Clone for XIGetPropertyItems
source§fn clone(&self) -> XIGetPropertyItems
fn clone(&self) -> XIGetPropertyItems
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 XIGetPropertyItems
impl Debug for XIGetPropertyItems
source§impl<'de> Deserialize<'de> for XIGetPropertyItems
impl<'de> Deserialize<'de> for XIGetPropertyItems
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 Hash for XIGetPropertyItems
impl Hash for XIGetPropertyItems
source§impl Ord for XIGetPropertyItems
impl Ord for XIGetPropertyItems
source§fn cmp(&self, other: &XIGetPropertyItems) -> Ordering
fn cmp(&self, other: &XIGetPropertyItems) -> 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 XIGetPropertyItems
impl PartialEq for XIGetPropertyItems
source§fn eq(&self, other: &XIGetPropertyItems) -> bool
fn eq(&self, other: &XIGetPropertyItems) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for XIGetPropertyItems
impl PartialOrd for XIGetPropertyItems
source§fn partial_cmp(&self, other: &XIGetPropertyItems) -> Option<Ordering>
fn partial_cmp(&self, other: &XIGetPropertyItems) -> 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 XIGetPropertyItems
impl Serialize for XIGetPropertyItems
impl Eq for XIGetPropertyItems
impl StructuralPartialEq for XIGetPropertyItems
Auto Trait Implementations§
impl Freeze for XIGetPropertyItems
impl RefUnwindSafe for XIGetPropertyItems
impl Send for XIGetPropertyItems
impl Sync for XIGetPropertyItems
impl Unpin for XIGetPropertyItems
impl UnwindSafe for XIGetPropertyItems
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