pub struct ZoneAddr {
pub zone_id: u32,
}Expand description
Bit-packed zone address.
Encodes a zone identifier (8 bits) into a 32-bit value.
Matches the 8-bit zone_id width used in LocationAddr and ZonedWordRef.
Layout: [pad:24][zone_id:8]
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 UnsafeUnpin 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