pub struct FnInversionMultiHostFeature { /* private fields */ }Expand description
Implements FnInversionForMultiHostDevices / 0x40a3.
Implementations§
Source§impl FnInversionMultiHostFeature
impl FnInversionMultiHostFeature
Sourcepub async fn get_global_fn_inversion(
&self,
host: HostIndex,
) -> Result<FnInversionInfo, Hidpp20Error>
pub async fn get_global_fn_inversion( &self, host: HostIndex, ) -> Result<FnInversionInfo, Hidpp20Error>
Retrieves global Fn inversion for host.
Sourcepub async fn set_global_fn_inversion(
&self,
host: HostIndex,
state: FnInversionState,
) -> Result<FnInversionInfo, Hidpp20Error>
pub async fn set_global_fn_inversion( &self, host: HostIndex, state: FnInversionState, ) -> Result<FnInversionInfo, Hidpp20Error>
Sets global Fn inversion for host.
The setting is stored by the device for the selected host slot.
Trait Implementations§
Source§impl Clone for FnInversionMultiHostFeature
impl Clone for FnInversionMultiHostFeature
Source§fn clone(&self) -> FnInversionMultiHostFeature
fn clone(&self) -> FnInversionMultiHostFeature
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 moreSource§impl CreatableFeature for FnInversionMultiHostFeature
impl CreatableFeature for FnInversionMultiHostFeature
Source§const STARTING_VERSION: u8 = 0
const STARTING_VERSION: u8 = 0
The version of the feature the implementation starts to support.
impl Feature for FnInversionMultiHostFeature
Auto Trait Implementations§
impl !RefUnwindSafe for FnInversionMultiHostFeature
impl !UnwindSafe for FnInversionMultiHostFeature
impl Freeze for FnInversionMultiHostFeature
impl Send for FnInversionMultiHostFeature
impl Sync for FnInversionMultiHostFeature
impl Unpin for FnInversionMultiHostFeature
impl UnsafeUnpin for FnInversionMultiHostFeature
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