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