pub struct PanId(pub u16);
Expand description
Personal Area Network Identifier
A 16-bit value that identifies a PAN
Example
use ieee802154::mac::PanId;
let pan_id = PanId(0x0123);
Tuple Fields
0: u16
Implementations
Trait Implementations
sourceimpl PartialEq<PanId> for PanId
impl PartialEq<PanId> for PanId
impl Copy for PanId
impl Eq for PanId
impl StructuralEq for PanId
impl StructuralPartialEq for PanId
Auto Trait Implementations
impl RefUnwindSafe for PanId
impl Send for PanId
impl Sync for PanId
impl Unpin for PanId
impl UnwindSafe for PanId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more