#[repr(C)]pub struct ScsInputDevice {
pub name: ScsString,
pub display_name: ScsString,
pub type_: ScsInputDeviceType,
pub input_count: ScsU32,
pub inputs: *const ScsInputDeviceInput,
pub callback_context: ScsContext,
pub input_active_callback: Option<ScsInputActiveCallback>,
pub input_event_callback: ScsInputEventCallback,
}Expand description
Raw input-device registration structure.
Fields§
§name: ScsString§display_name: ScsString§type_: ScsInputDeviceType§input_count: ScsU32§inputs: *const ScsInputDeviceInput§callback_context: ScsContext§input_active_callback: Option<ScsInputActiveCallback>§input_event_callback: ScsInputEventCallbackAuto Trait Implementations§
impl !Send for ScsInputDevice
impl !Sync for ScsInputDevice
impl Freeze for ScsInputDevice
impl RefUnwindSafe for ScsInputDevice
impl Unpin for ScsInputDevice
impl UnsafeUnpin for ScsInputDevice
impl UnwindSafe for ScsInputDevice
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