Enum stm32_metapac::hrtim::vals::Activeeffect
#[repr(u8)]pub enum Activeeffect {
NOEFFECT = 0,
SETACTIVE = 1,
}
Variants§
NOEFFECT = 0
Timer event has no effect
SETACTIVE = 1
Timer event forces the output to its active state
Implementations§
§impl Activeeffect
impl Activeeffect
pub const fn from_bits(val: u8) -> Activeeffect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Activeeffect
impl Clone for Activeeffect
§fn clone(&self) -> Activeeffect
fn clone(&self) -> Activeeffect
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<Activeeffect> for u8
impl From<Activeeffect> for u8
§fn from(val: Activeeffect) -> u8
fn from(val: Activeeffect) -> u8
Converts to this type from the input type.
§impl From<u8> for Activeeffect
impl From<u8> for Activeeffect
§fn from(val: u8) -> Activeeffect
fn from(val: u8) -> Activeeffect
Converts to this type from the input type.
§impl Ord for Activeeffect
impl Ord for Activeeffect
§impl PartialEq for Activeeffect
impl PartialEq for Activeeffect
§impl PartialOrd for Activeeffect
impl PartialOrd for Activeeffect
impl Copy for Activeeffect
impl Eq for Activeeffect
impl StructuralPartialEq for Activeeffect
Auto Trait Implementations§
impl Freeze for Activeeffect
impl RefUnwindSafe for Activeeffect
impl Send for Activeeffect
impl Sync for Activeeffect
impl Unpin for Activeeffect
impl UnwindSafe for Activeeffect
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
)