pub struct ZoneAddr {
pub zone_id: u32,
}Expand description
Bit-packed zone address.
Encodes a zone identifier (16 bits) into a 32-bit value.
Layout: [pad:16][zone_id:16]
Fields§
§zone_id: u32Implementations§
Trait Implementations§
impl Copy for ZoneAddr
impl Eq for ZoneAddr
impl StructuralPartialEq for ZoneAddr
Auto Trait Implementations§
impl Freeze for ZoneAddr
impl RefUnwindSafe for ZoneAddr
impl Send for ZoneAddr
impl Sync for ZoneAddr
impl Unpin for ZoneAddr
impl UnwindSafe for ZoneAddr
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