pub struct InnerNode {
pub tag: u8,
pub padding: [u8; 3],
pub prefix_len: u32,
pub key: u128,
pub children: [u32; 2],
pub child_earliest_expiry: [u64; 2],
pub reserved: [u8; 40],
}Fields§
§tag: u8§padding: [u8; 3]§prefix_len: u32§key: u128§children: [u32; 2]§child_earliest_expiry: [u64; 2]§reserved: [u8; 40]Trait Implementations§
Source§impl BorshDeserialize for InnerNodewhere
u8: BorshDeserialize,
[u8; 3]: BorshDeserialize,
u32: BorshDeserialize,
u128: BorshDeserialize,
[u32; 2]: BorshDeserialize,
[u64; 2]: BorshDeserialize,
[u8; 40]: BorshDeserialize,
impl BorshDeserialize for InnerNodewhere
u8: BorshDeserialize,
[u8; 3]: BorshDeserialize,
u32: BorshDeserialize,
u128: BorshDeserialize,
[u32; 2]: BorshDeserialize,
[u64; 2]: BorshDeserialize,
[u8; 40]: BorshDeserialize,
Source§impl BorshSerialize for InnerNodewhere
u8: BorshSerialize,
[u8; 3]: BorshSerialize,
u32: BorshSerialize,
u128: BorshSerialize,
[u32; 2]: BorshSerialize,
[u64; 2]: BorshSerialize,
[u8; 40]: BorshSerialize,
impl BorshSerialize for InnerNodewhere
u8: BorshSerialize,
[u8; 3]: BorshSerialize,
u32: BorshSerialize,
u128: BorshSerialize,
[u32; 2]: BorshSerialize,
[u64; 2]: BorshSerialize,
[u8; 40]: BorshSerialize,
impl Copy for InnerNode
Auto Trait Implementations§
impl Freeze for InnerNode
impl RefUnwindSafe for InnerNode
impl Send for InnerNode
impl Sync for InnerNode
impl Unpin for InnerNode
impl UnsafeUnpin for InnerNode
impl UnwindSafe for InnerNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more