pub struct LocationAddr {
pub word_id: u32,
pub site_id: u32,
}Expand description
Bit-packed atom location address (word + site).
Encodes word_id (16 bits) and site_id (16 bits) into a 32-bit word.
Layout: [word_id:16][site_id:16]
Fields§
§word_id: u32§site_id: u32Implementations§
Trait Implementations§
Source§impl Clone for LocationAddr
impl Clone for LocationAddr
Source§fn clone(&self) -> LocationAddr
fn clone(&self) -> LocationAddr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocationAddr
impl Debug for LocationAddr
Source§impl Hash for LocationAddr
impl Hash for LocationAddr
Source§impl PartialEq for LocationAddr
impl PartialEq for LocationAddr
impl Copy for LocationAddr
impl Eq for LocationAddr
impl StructuralPartialEq for LocationAddr
Auto Trait Implementations§
impl Freeze for LocationAddr
impl RefUnwindSafe for LocationAddr
impl Send for LocationAddr
impl Sync for LocationAddr
impl Unpin for LocationAddr
impl UnwindSafe for LocationAddr
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