#[repr(u8)]pub enum GlobalItem {
Show 13 variants
UsagePage = 0,
LogicalMinimum = 1,
LogicalMaximum = 2,
PhysicalMinimum = 3,
PhysicalMaximum = 4,
UnitExponent = 5,
Unit = 6,
ReportSize = 7,
ReportId = 8,
ReportCount = 9,
Push = 10,
Pop = 11,
Reserved = 12,
}Expand description
Identifiers for Global items.
Variants§
UsagePage = 0
LogicalMinimum = 1
LogicalMaximum = 2
PhysicalMinimum = 3
PhysicalMaximum = 4
UnitExponent = 5
Unit = 6
ReportSize = 7
ReportId = 8
ReportCount = 9
Push = 10
Pop = 11
Reserved = 12
Trait Implementations§
Source§impl Clone for GlobalItem
impl Clone for GlobalItem
impl Copy for GlobalItem
Source§impl Debug for GlobalItem
impl Debug for GlobalItem
Source§impl From<GlobalItem> for u8
impl From<GlobalItem> for u8
Source§fn from(enum_value: GlobalItem) -> Self
fn from(enum_value: GlobalItem) -> Self
Converts to this type from the input type.
Source§impl From<u8> for GlobalItem
impl From<u8> for GlobalItem
Source§impl FromPrimitive for GlobalItem
impl FromPrimitive for GlobalItem
Source§impl IntoTagType for GlobalItem
impl IntoTagType for GlobalItem
Source§fn encode_tag(self) -> TagTypeSize
fn encode_tag(self) -> TagTypeSize
Encode tag and type values. Read more
Auto Trait Implementations§
impl Freeze for GlobalItem
impl RefUnwindSafe for GlobalItem
impl Send for GlobalItem
impl Sync for GlobalItem
impl Unpin for GlobalItem
impl UnsafeUnpin for GlobalItem
impl UnwindSafe for GlobalItem
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