Struct x11rb::protocol::xinput::InputInfoInfoValuator [−][src]
Fields
mode: ValuatorMode
motion_size: u32
axes: Vec<AxisInfo>
Implementations
impl InputInfoInfoValuator
[src]
pub fn axes_len(&self) -> u8
[src]
Get the value of the axes_len
field.
The axes_len
field is used as the length field of the axes
field.
This function computes the field’s value again based on the length of the list.
Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations
impl Clone for InputInfoInfoValuator
[src]
fn clone(&self) -> InputInfoInfoValuator
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InputInfoInfoValuator
[src]
impl Eq for InputInfoInfoValuator
[src]
impl PartialEq<InputInfoInfoValuator> for InputInfoInfoValuator
[src]
fn eq(&self, other: &InputInfoInfoValuator) -> bool
[src]
fn ne(&self, other: &InputInfoInfoValuator) -> bool
[src]
impl Serialize for InputInfoInfoValuator
[src]
type Bytes = Vec<u8>
The value returned by serialize
. Read more
fn serialize(&self) -> Vec<u8>
[src]
fn serialize_into(&self, bytes: &mut Vec<u8>)
[src]
impl StructuralEq for InputInfoInfoValuator
[src]
impl StructuralPartialEq for InputInfoInfoValuator
[src]
impl TryParse for InputInfoInfoValuator
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputInfoInfoValuator
impl Send for InputInfoInfoValuator
impl Sync for InputInfoInfoValuator
impl Unpin for InputInfoInfoValuator
impl UnwindSafe for InputInfoInfoValuator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TryParseFd for T where
T: TryParse,
[src]
T: TryParse,
pub fn try_parse_fd(
&'a [u8],
&mut Vec<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>
[src]
&'a [u8],
&mut Vec<RawFdContainer, Global>
) -> Result<(T, &'a [u8]), ParseError>