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
sourceimpl Clone for DeviceModeConfiguration
impl Clone for DeviceModeConfiguration
sourcefn clone(&self) -> DeviceModeConfiguration
fn clone(&self) -> DeviceModeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for DeviceModeConfiguration
impl Default for DeviceModeConfiguration
sourceimpl PartialEq<DeviceModeConfiguration> for DeviceModeConfiguration
impl PartialEq<DeviceModeConfiguration> for DeviceModeConfiguration
sourcefn eq(&self, other: &DeviceModeConfiguration) -> bool
fn eq(&self, other: &DeviceModeConfiguration) -> bool
impl Copy for DeviceModeConfiguration
impl Eq for DeviceModeConfiguration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more