pub struct InputDeviceInput<'a> { /* private fields */ }Expand description
Header-shaped description of one input, with C-string lifetimes retained.
Implementations§
Source§impl<'a> InputDeviceInput<'a>
impl<'a> InputDeviceInput<'a>
pub const fn new( name: &'a CStr, display_name: &'a CStr, value_type: InputValueType, ) -> Self
pub const fn value_type(&self) -> Option<InputValueType>
Auto Trait Implementations§
impl<'a> !Send for InputDeviceInput<'a>
impl<'a> !Sync for InputDeviceInput<'a>
impl<'a> Freeze for InputDeviceInput<'a>
impl<'a> RefUnwindSafe for InputDeviceInput<'a>
impl<'a> Unpin for InputDeviceInput<'a>
impl<'a> UnsafeUnpin for InputDeviceInput<'a>
impl<'a> UnwindSafe for InputDeviceInput<'a>
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