Enum xmc4800::usb0::gusbcfg::ForceHstMode
source · pub enum ForceHstMode {
Value1 = 0,
Value2 = 1,
}
Expand description
Force Host Mode
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for ForceHstMode
impl Clone for ForceHstMode
source§fn clone(&self) -> ForceHstMode
fn clone(&self) -> ForceHstMode
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 ForceHstMode
impl Debug for ForceHstMode
source§impl From<ForceHstMode> for bool
impl From<ForceHstMode> for bool
source§fn from(variant: ForceHstMode) -> Self
fn from(variant: ForceHstMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for ForceHstMode
impl PartialEq for ForceHstMode
source§fn eq(&self, other: &ForceHstMode) -> bool
fn eq(&self, other: &ForceHstMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ForceHstMode
impl Eq for ForceHstMode
impl StructuralPartialEq for ForceHstMode
Auto Trait Implementations§
impl RefUnwindSafe for ForceHstMode
impl Send for ForceHstMode
impl Sync for ForceHstMode
impl Unpin for ForceHstMode
impl UnwindSafe for ForceHstMode
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