pub struct SerialIrqReport {
pub event: SerialIrqEvent,
pub rx: IrqRxBatch,
}Expand description
Complete value returned by one UART hard-IRQ pass.
Fields§
§event: SerialIrqEvent§rx: IrqRxBatchImplementations§
Source§impl SerialIrqReport
impl SerialIrqReport
Sourcepub const fn new(event: SerialIrqEvent, rx: IrqRxBatch) -> SerialIrqReport
pub const fn new(event: SerialIrqEvent, rx: IrqRxBatch) -> SerialIrqReport
Combines one normalized IRQ event with its bounded receive batch.
Trait Implementations§
Source§impl Clone for SerialIrqReport
impl Clone for SerialIrqReport
Source§fn clone(&self) -> SerialIrqReport
fn clone(&self) -> SerialIrqReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialIrqReport
Source§impl Debug for SerialIrqReport
impl Debug for SerialIrqReport
Source§impl Default for SerialIrqReport
impl Default for SerialIrqReport
Source§fn default() -> SerialIrqReport
fn default() -> SerialIrqReport
Returns the “default value” for a type. Read more
impl Eq for SerialIrqReport
Source§impl PartialEq for SerialIrqReport
impl PartialEq for SerialIrqReport
impl StructuralPartialEq for SerialIrqReport
Auto Trait Implementations§
impl Freeze for SerialIrqReport
impl RefUnwindSafe for SerialIrqReport
impl Send for SerialIrqReport
impl Sync for SerialIrqReport
impl Unpin for SerialIrqReport
impl UnsafeUnpin for SerialIrqReport
impl UnwindSafe for SerialIrqReport
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