pub struct IntermediateAddrRegular { /* private fields */ }Expand description
Destination prefix length whithin the same workchain.
Implementations§
Source§impl IntermediateAddrRegular
impl IntermediateAddrRegular
Sourcepub fn with_dest_bits(use_dest_bits: u8) -> Option<Self>
pub fn with_dest_bits(use_dest_bits: u8) -> Option<Self>
Create for the destination address.
Sourcepub fn with_src_bits(use_src_bits: u8) -> Option<Self>
pub fn with_src_bits(use_src_bits: u8) -> Option<Self>
Create for the source address.
Sourcepub fn use_dest_bits(&self) -> u8
pub fn use_dest_bits(&self) -> u8
Returns the destination address prefix length in bits.
Sourcepub fn use_src_bits(&self) -> u8
pub fn use_src_bits(&self) -> u8
Returns the source address prefix length in bits.
Trait Implementations§
Source§impl Clone for IntermediateAddrRegular
impl Clone for IntermediateAddrRegular
Source§fn clone(&self) -> IntermediateAddrRegular
fn clone(&self) -> IntermediateAddrRegular
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntermediateAddrRegular
impl Debug for IntermediateAddrRegular
Source§impl From<IntermediateAddrRegular> for IntermediateAddr
impl From<IntermediateAddrRegular> for IntermediateAddr
Source§fn from(addr: IntermediateAddrRegular) -> Self
fn from(addr: IntermediateAddrRegular) -> Self
Converts to this type from the input type.
Source§impl Hash for IntermediateAddrRegular
impl Hash for IntermediateAddrRegular
Source§impl<'tlb> Load<'tlb> for IntermediateAddrRegular
impl<'tlb> Load<'tlb> for IntermediateAddrRegular
Source§impl PartialEq for IntermediateAddrRegular
impl PartialEq for IntermediateAddrRegular
Source§fn eq(&self, other: &IntermediateAddrRegular) -> bool
fn eq(&self, other: &IntermediateAddrRegular) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntermediateAddrRegular
impl Serialize for IntermediateAddrRegular
Source§impl Store for IntermediateAddrRegular
impl Store for IntermediateAddrRegular
Source§fn store_into(
&self,
__builder: &mut CellBuilder,
__context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for IntermediateAddrRegular
impl Eq for IntermediateAddrRegular
impl StructuralPartialEq for IntermediateAddrRegular
Auto Trait Implementations§
impl Freeze for IntermediateAddrRegular
impl RefUnwindSafe for IntermediateAddrRegular
impl Send for IntermediateAddrRegular
impl Sync for IntermediateAddrRegular
impl Unpin for IntermediateAddrRegular
impl UnwindSafe for IntermediateAddrRegular
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.