#[repr(C)]pub struct uart_event {
pub type_: u32,
pub data: uart_event_uart_event_data,
}Expand description
@brief Structure containing information about current event.
Fields§
§type_: u32@brief Type of event
data: uart_event_uart_event_dataTrait Implementations§
Source§impl Default for uart_event
impl Default for uart_event
Source§fn default() -> uart_event
fn default() -> uart_event
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for uart_event
impl RefUnwindSafe for uart_event
impl !Send for uart_event
impl !Sync for uart_event
impl Unpin for uart_event
impl UnwindSafe for uart_event
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