Enum stm32_metapac::hrtim::vals::Outputstate
#[repr(u8)]pub enum Outputstate {
INACTIVE = 0,
ACTIVE = 1,
}
Variants§
Implementations§
§impl Outputstate
impl Outputstate
pub const fn from_bits(val: u8) -> Outputstate
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Outputstate
impl Clone for Outputstate
§fn clone(&self) -> Outputstate
fn clone(&self) -> Outputstate
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 more§impl From<Outputstate> for u8
impl From<Outputstate> for u8
§fn from(val: Outputstate) -> u8
fn from(val: Outputstate) -> u8
Converts to this type from the input type.
§impl From<u8> for Outputstate
impl From<u8> for Outputstate
§fn from(val: u8) -> Outputstate
fn from(val: u8) -> Outputstate
Converts to this type from the input type.
§impl Ord for Outputstate
impl Ord for Outputstate
§impl PartialEq for Outputstate
impl PartialEq for Outputstate
§impl PartialOrd for Outputstate
impl PartialOrd for Outputstate
impl Copy for Outputstate
impl Eq for Outputstate
impl StructuralPartialEq for Outputstate
Auto Trait Implementations§
impl Freeze for Outputstate
impl RefUnwindSafe for Outputstate
impl Send for Outputstate
impl Sync for Outputstate
impl Unpin for Outputstate
impl UnwindSafe for Outputstate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)