pub struct DetectorsBuilder<T>{ /* private fields */ }Expand description
Builds the Detectors pair.
Implementations§
Source§impl<T> DetectorsBuilder<T>
impl<T> DetectorsBuilder<T>
Sourcepub fn build<'a, 'd>(
self,
common: &'a DfsdmCommon<'d, T, Enabled>,
_irqs: impl Binding<T::Interrupt, InterruptHandler<T, Flt0>>,
) -> Detectors<'a, 'd, T>
pub fn build<'a, 'd>( self, common: &'a DfsdmCommon<'d, T, Enabled>, _irqs: impl Binding<T::Interrupt, InterruptHandler<T, Flt0>>, ) -> Detectors<'a, 'd, T>
Build the actual Filter, binding it to the DfsdmCommon peripheral. This prevents DfsdmCommon from being dropped while the Filter exists.
Auto Trait Implementations§
impl<T> Freeze for DetectorsBuilder<T>where
PhantomData<T>: Freeze,
impl<T> RefUnwindSafe for DetectorsBuilder<T>where
PhantomData<T>: RefUnwindSafe,
impl<T> Send for DetectorsBuilder<T>where
PhantomData<T>: Send,
impl<T> Sync for DetectorsBuilder<T>where
PhantomData<T>: Sync,
impl<T> Unpin for DetectorsBuilder<T>where
PhantomData<T>: Unpin,
impl<T> UnsafeUnpin for DetectorsBuilder<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for DetectorsBuilder<T>where
PhantomData<T>: 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