Struct wasefire_board_api::uart::Event
source · pub struct Event<B: Api + ?Sized> {
pub uart: Id<Uart<B>>,
pub direction: Direction,
}
Available on crate feature
api-uart
only.Expand description
UART event.
Fields§
§uart: Id<Uart<B>>
The UART that triggered the event.
direction: Direction
Whether the UART may be ready for read or write.
Trait Implementations§
source§impl<B: Api + ?Sized> PartialEq for Event<B>
impl<B: Api + ?Sized> PartialEq for Event<B>
impl<B: Api + ?Sized> Eq for Event<B>
Auto Trait Implementations§
impl<B> Freeze for Event<B>where
B: ?Sized,
impl<B> RefUnwindSafe for Event<B>
impl<B> Send for Event<B>where
B: ?Sized,
impl<B> Sync for Event<B>
impl<B> Unpin for Event<B>
impl<B> UnwindSafe for Event<B>
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