pub struct CaptureInput<T, C> { /* private fields */ }Expand description
Trigger wrapper.
This wraps a trigger to make it usable with capture.
Implementations§
Source§impl<T: GeneralInstance4Channel, C: TimerChannel> CaptureInput<T, C>
impl<T: GeneralInstance4Channel, C: TimerChannel> CaptureInput<T, C>
Sourcepub fn from<'d>(
trigger: impl TimerInputTrigger<T, C>,
) -> TimerInputType<'d, T, C>
pub fn from<'d>( trigger: impl TimerInputTrigger<T, C>, ) -> TimerInputType<'d, T, C>
Create a new capture input instance.
Auto Trait Implementations§
impl<T, C> Freeze for CaptureInput<T, C>
impl<T, C> RefUnwindSafe for CaptureInput<T, C>where
T: RefUnwindSafe,
C: RefUnwindSafe,
impl<T, C> Send for CaptureInput<T, C>
impl<T, C> Sync for CaptureInput<T, C>
impl<T, C> Unpin for CaptureInput<T, C>
impl<T, C> UnwindSafe for CaptureInput<T, C>where
T: UnwindSafe,
C: UnwindSafe,
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> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.