[−][src]Struct slip10::path::BIP32Path
A path structure defined by BIP 32.
Implementations
impl BIP32Path
[src]
pub fn from_str(path: &str) -> Result<BIP32Path, Error>
[src]
Create a BIP32Path form string literals.
pub fn depth(&self) -> u8
[src]
Return the depth of the BIP32Path. For example, "m/0'/0'" will have depth of 2.
pub fn index(&self, depth: u8) -> Option<&u32>
[src]
Return the index value of corresponding depth in the BIP32Path.
pub fn push(&mut self, index: u32)
[src]
Push one index to the BIP32Path.
pub fn pop(&mut self) -> Option<u32>
[src]
Pop last index of the BIP32Path.
Trait Implementations
impl Clone for BIP32Path
[src]
fn clone(&self) -> BIP32Path
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BIP32Path
[src]
impl Eq for BIP32Path
[src]
impl From<Vec<u32>> for BIP32Path
[src]
impl Ord for BIP32Path
[src]
fn cmp(&self, other: &BIP32Path) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<BIP32Path> for BIP32Path
[src]
impl PartialOrd<BIP32Path> for BIP32Path
[src]
fn partial_cmp(&self, other: &BIP32Path) -> Option<Ordering>
[src]
fn lt(&self, other: &BIP32Path) -> bool
[src]
fn le(&self, other: &BIP32Path) -> bool
[src]
fn gt(&self, other: &BIP32Path) -> bool
[src]
fn ge(&self, other: &BIP32Path) -> bool
[src]
impl StructuralEq for BIP32Path
[src]
impl StructuralPartialEq for BIP32Path
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,