pub struct InputDeviceId(/* private fields */);Expand description
Stable identity assigned to one device declared during plugin initialization.
The value is intentionally not interchangeable with an input index. SCS
calls each device through a distinct opaque context, while InputIndex
selects one entry inside that device’s registered input array.
Implementations§
Trait Implementations§
Source§impl Clone for InputDeviceId
impl Clone for InputDeviceId
Source§fn clone(&self) -> InputDeviceId
fn clone(&self) -> InputDeviceId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputDeviceId
Source§impl Debug for InputDeviceId
impl Debug for InputDeviceId
impl Eq for InputDeviceId
Source§impl Hash for InputDeviceId
impl Hash for InputDeviceId
Source§impl Ord for InputDeviceId
impl Ord for InputDeviceId
Source§fn cmp(&self, other: &InputDeviceId) -> Ordering
fn cmp(&self, other: &InputDeviceId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputDeviceId
impl PartialEq for InputDeviceId
Source§impl PartialOrd for InputDeviceId
impl PartialOrd for InputDeviceId
impl StructuralPartialEq for InputDeviceId
Auto Trait Implementations§
impl Freeze for InputDeviceId
impl RefUnwindSafe for InputDeviceId
impl Send for InputDeviceId
impl Sync for InputDeviceId
impl Unpin for InputDeviceId
impl UnsafeUnpin for InputDeviceId
impl UnwindSafe for InputDeviceId
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