Struct x11rb::protocol::xinput::InputInfoInfoValuator[][src]

pub struct InputInfoInfoValuator {
    pub mode: ValuatorMode,
    pub motion_size: u32,
    pub axes: Vec<AxisInfo>,
}

Fields

mode: ValuatorModemotion_size: u32axes: 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]

impl Debug for InputInfoInfoValuator[src]

impl Eq for InputInfoInfoValuator[src]

impl PartialEq<InputInfoInfoValuator> for InputInfoInfoValuator[src]

impl Serialize for InputInfoInfoValuator[src]

type Bytes = Vec<u8>

The value returned by serialize. Read more

impl StructuralEq for InputInfoInfoValuator[src]

impl StructuralPartialEq for InputInfoInfoValuator[src]

impl TryParse for InputInfoInfoValuator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> TryParseFd for T where
    T: TryParse
[src]