pub enum DynSliceMode {
FreeRunning,
InputHighRunning,
CountRisingEdge,
CountFallingEdge,
}Expand description
Slice modes
Variants§
FreeRunning
Count continuously whenever the slice is enabled
InputHighRunning
Count continuously when a high level is detected on the B pin
CountRisingEdge
Count once with each rising edge detected on the B pin
CountFallingEdge
Count once with each falling edge detected on the B pin
Trait Implementations§
Source§impl Clone for DynSliceMode
impl Clone for DynSliceMode
Source§fn clone(&self) -> DynSliceMode
fn clone(&self) -> DynSliceMode
Returns a duplicate 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 PartialEq for DynSliceMode
impl PartialEq for DynSliceMode
impl Copy for DynSliceMode
impl Eq for DynSliceMode
impl StructuralPartialEq for DynSliceMode
Auto Trait Implementations§
impl Freeze for DynSliceMode
impl RefUnwindSafe for DynSliceMode
impl Send for DynSliceMode
impl Sync for DynSliceMode
impl Unpin for DynSliceMode
impl UnwindSafe for DynSliceMode
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§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more