pub struct CntSetup { /* private fields */ }Expand description
Setup for a specific counter.
Use this struct to declare the setup of a specific counter.
Implementations§
Source§impl CntSetup
impl CntSetup
Sourcepub fn new(count_direction: CntDirection, z_signal: CntZSignal) -> Self
pub fn new(count_direction: CntDirection, z_signal: CntZSignal) -> Self
Create a new counter setup with the given direction and Z signal.
Trait Implementations§
impl Copy for CntSetup
impl Eq for CntSetup
impl StructuralPartialEq for CntSetup
Auto Trait Implementations§
impl Freeze for CntSetup
impl RefUnwindSafe for CntSetup
impl Send for CntSetup
impl Sync for CntSetup
impl Unpin for CntSetup
impl UnwindSafe for CntSetup
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