pub enum DeviceModeConfiguration {
Disabled,
Enabled {
device_mode_arg: u32,
device_mode_seq: DeviceModeSequence,
},
}
Expand description
Describes both the deviceModeCfgEnable
field, and
the deviceModeArg
field, which is only valid if
the configuration is enabled.
Variants§
Disabled
Device configuration mode is disabled
Enabled
Device configuration mode is enabled
Tells the processor to use the associated device mode argument and sequence
Trait Implementations§
source§impl Clone for DeviceModeConfiguration
impl Clone for DeviceModeConfiguration
source§fn clone(&self) -> DeviceModeConfiguration
fn clone(&self) -> DeviceModeConfiguration
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 Default for DeviceModeConfiguration
impl Default for DeviceModeConfiguration
source§fn default() -> DeviceModeConfiguration
fn default() -> DeviceModeConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq for DeviceModeConfiguration
impl PartialEq for DeviceModeConfiguration
source§fn eq(&self, other: &DeviceModeConfiguration) -> bool
fn eq(&self, other: &DeviceModeConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceModeConfiguration
impl Eq for DeviceModeConfiguration
impl StructuralPartialEq for DeviceModeConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for DeviceModeConfiguration
impl Send for DeviceModeConfiguration
impl Sync for DeviceModeConfiguration
impl Unpin for DeviceModeConfiguration
impl UnwindSafe for DeviceModeConfiguration
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