Struct avr_oxide::event::EventDevNull
source · pub struct EventDevNull {}
Expand description
A ‘null’ event sunk that allows you to instantiate Oxide devices that discard any generated events.
Trait Implementations§
source§impl EventSink for EventDevNull
impl EventSink for EventDevNull
Do-nothing implementation of EventSink.
fn event(_isotoken: Isolated, _event: OxideEventEnvelope<'_>)
Auto Trait Implementations§
impl Freeze for EventDevNull
impl RefUnwindSafe for EventDevNull
impl Send for EventDevNull
impl Sync for EventDevNull
impl Unpin for EventDevNull
impl UnwindSafe for EventDevNull
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