#[repr(C)]pub struct USAGE_AND_PAGE {
pub Usage: u16,
pub UsagePage: u16,
}Fields§
§Usage: u16§UsagePage: u16Trait Implementations§
Source§impl Abi for USAGE_AND_PAGE
impl Abi for USAGE_AND_PAGE
Source§type Abi = USAGE_AND_PAGE
type Abi = USAGE_AND_PAGE
The abi representation of the implementing type. Read more
type DefaultType = USAGE_AND_PAGE
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for USAGE_AND_PAGE
impl Clone for USAGE_AND_PAGE
Source§fn clone(&self) -> USAGE_AND_PAGE
fn clone(&self) -> USAGE_AND_PAGE
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for USAGE_AND_PAGE
impl Debug for USAGE_AND_PAGE
Source§impl Default for USAGE_AND_PAGE
impl Default for USAGE_AND_PAGE
Source§impl PartialEq for USAGE_AND_PAGE
impl PartialEq for USAGE_AND_PAGE
impl Copy for USAGE_AND_PAGE
impl Eq for USAGE_AND_PAGE
Auto Trait Implementations§
impl Freeze for USAGE_AND_PAGE
impl RefUnwindSafe for USAGE_AND_PAGE
impl Send for USAGE_AND_PAGE
impl Sync for USAGE_AND_PAGE
impl Unpin for USAGE_AND_PAGE
impl UnwindSafe for USAGE_AND_PAGE
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