pub struct InputFileConfig {Show 16 fields
pub supported_event_types: BitSet<{ _ }>,
pub supported_keys: BitSet<{ _ }>,
pub supported_position_attributes: BitSet<{ _ }>,
pub supported_motion_attributes: BitSet<{ _ }>,
pub supported_switches: BitSet<{ _ }>,
pub supported_leds: BitSet<{ _ }>,
pub supported_haptics: BitSet<{ _ }>,
pub supported_misc_features: BitSet<{ _ }>,
pub properties: BitSet<{ _ }>,
pub mt_slot_axis_info: input_absinfo,
pub mt_tracking_id_axis_info: input_absinfo,
pub mt_pressure_axis_info: input_absinfo,
pub mt_touch_major_axis_info: input_absinfo,
pub mt_touch_minor_axis_info: input_absinfo,
pub x_axis_info: input_absinfo,
pub y_axis_info: input_absinfo,
}Expand description
Dynamic configuration of capabilities and axis ranges for an InputFile.
Fields§
§supported_event_types: BitSet<{ _ }>§supported_keys: BitSet<{ _ }>§supported_position_attributes: BitSet<{ _ }>§supported_motion_attributes: BitSet<{ _ }>§supported_switches: BitSet<{ _ }>§supported_leds: BitSet<{ _ }>§supported_haptics: BitSet<{ _ }>§supported_misc_features: BitSet<{ _ }>§properties: BitSet<{ _ }>§mt_slot_axis_info: input_absinfo§mt_tracking_id_axis_info: input_absinfo§mt_pressure_axis_info: input_absinfo§mt_touch_major_axis_info: input_absinfo§mt_touch_minor_axis_info: input_absinfo§x_axis_info: input_absinfo§y_axis_info: input_absinfoImplementations§
Source§impl InputFileConfig
impl InputFileConfig
pub fn from_device_descriptor(descriptor: &DeviceDescriptor) -> Self
Trait Implementations§
Source§impl Clone for InputFileConfig
impl Clone for InputFileConfig
Source§impl Debug for InputFileConfig
impl Debug for InputFileConfig
Source§impl Default for InputFileConfig
impl Default for InputFileConfig
Auto Trait Implementations§
impl Freeze for InputFileConfig
impl RefUnwindSafe for InputFileConfig
impl Send for InputFileConfig
impl Sync for InputFileConfig
impl Unpin for InputFileConfig
impl UnsafeUnpin for InputFileConfig
impl UnwindSafe for InputFileConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more