Struct ublox::CfgPrtUartRef
source · pub struct CfgPrtUartRef<'a>(/* private fields */);
Expand description
Port Configuration for UART Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
source§impl<'a> CfgPrtUartRef<'a>
impl<'a> CfgPrtUartRef<'a>
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn portid_raw(&self) -> u8
pub fn portid_raw(&self) -> u8
sourcepub fn portid(&self) -> UartPortId
pub fn portid(&self) -> UartPortId
sourcepub fn in_proto_mask_raw(&self) -> u16
pub fn in_proto_mask_raw(&self) -> u16
sourcepub fn in_proto_mask(&self) -> InProtoMask
pub fn in_proto_mask(&self) -> InProtoMask
sourcepub fn out_proto_mask_raw(&self) -> u16
pub fn out_proto_mask_raw(&self) -> u16
sourcepub fn out_proto_mask(&self) -> OutProtoMask
pub fn out_proto_mask(&self) -> OutProtoMask
Trait Implementations§
source§impl Debug for CfgPrtUartRef<'_>
impl Debug for CfgPrtUartRef<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CfgPrtUartRef<'a>
impl<'a> Send for CfgPrtUartRef<'a>
impl<'a> Sync for CfgPrtUartRef<'a>
impl<'a> Unpin for CfgPrtUartRef<'a>
impl<'a> UnwindSafe for CfgPrtUartRef<'a>
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