pub struct PadicAddr {
pub base: u32,
pub coeff0: u16,
pub coeff1: u16,
}Expand description
P-adic address: hierarchical locality label. Format: “kindIndex.depth.counter” encoded as (base: u32, coeff0: u16, coeff1: u16).
Fields§
§base: u32§coeff0: u16§coeff1: u16Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PadicAddr
impl<'de> Deserialize<'de> for PadicAddr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PadicAddr
impl StructuralPartialEq for PadicAddr
Auto Trait Implementations§
impl Freeze for PadicAddr
impl RefUnwindSafe for PadicAddr
impl Send for PadicAddr
impl Sync for PadicAddr
impl Unpin for PadicAddr
impl UnsafeUnpin for PadicAddr
impl UnwindSafe for PadicAddr
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