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