#[repr(C, packed(1))]pub struct Uart {
pub header: DevicePathProtocol,
pub _reserved: u32,
pub baud_rate: u64,
pub data_bits: u8,
pub parity: Parity,
pub stop_bits: StopBits,
}
Fields§
§header: DevicePathProtocol
§_reserved: u32
§baud_rate: u64
§data_bits: u8
§parity: Parity
§stop_bits: StopBits
Auto Trait Implementations§
impl Freeze for Uart
impl RefUnwindSafe for Uart
impl Send for Uart
impl Sync for Uart
impl Unpin for Uart
impl UnwindSafe for Uart
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