Struct x11rb_protocol::protocol::xinput::LedFeedbackCtl
source · pub struct LedFeedbackCtl {
pub class_id: FeedbackClass,
pub feedback_id: u8,
pub len: u16,
pub led_mask: u32,
pub led_values: u32,
}
Fields§
§class_id: FeedbackClass
§feedback_id: u8
§len: u16
§led_mask: u32
§led_values: u32
Trait Implementations§
source§impl Clone for LedFeedbackCtl
impl Clone for LedFeedbackCtl
source§fn clone(&self) -> LedFeedbackCtl
fn clone(&self) -> LedFeedbackCtl
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 LedFeedbackCtl
impl Debug for LedFeedbackCtl
source§impl Default for LedFeedbackCtl
impl Default for LedFeedbackCtl
source§fn default() -> LedFeedbackCtl
fn default() -> LedFeedbackCtl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LedFeedbackCtl
impl<'de> Deserialize<'de> for LedFeedbackCtl
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 LedFeedbackCtl
impl Hash for LedFeedbackCtl
source§impl Ord for LedFeedbackCtl
impl Ord for LedFeedbackCtl
source§fn cmp(&self, other: &LedFeedbackCtl) -> Ordering
fn cmp(&self, other: &LedFeedbackCtl) -> 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 LedFeedbackCtl
impl PartialEq for LedFeedbackCtl
source§fn eq(&self, other: &LedFeedbackCtl) -> bool
fn eq(&self, other: &LedFeedbackCtl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LedFeedbackCtl
impl PartialOrd for LedFeedbackCtl
source§fn partial_cmp(&self, other: &LedFeedbackCtl) -> Option<Ordering>
fn partial_cmp(&self, other: &LedFeedbackCtl) -> 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 LedFeedbackCtl
impl Serialize for LedFeedbackCtl
source§impl Serialize for LedFeedbackCtl
impl Serialize for LedFeedbackCtl
source§impl TryParse for LedFeedbackCtl
impl TryParse for LedFeedbackCtl
impl Copy for LedFeedbackCtl
impl Eq for LedFeedbackCtl
impl StructuralPartialEq for LedFeedbackCtl
Auto Trait Implementations§
impl Freeze for LedFeedbackCtl
impl RefUnwindSafe for LedFeedbackCtl
impl Send for LedFeedbackCtl
impl Sync for LedFeedbackCtl
impl Unpin for LedFeedbackCtl
impl UnwindSafe for LedFeedbackCtl
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