[−][src]Struct bitcoin::util::bip32::DerivationPath
A BIP-32 derivation path.
Methods
impl DerivationPath
[src]
pub fn child(&self, cn: ChildNumber) -> DerivationPath
[src]
Create a new DerivationPath that is a child of this one.
pub fn into_child(self, cn: ChildNumber) -> DerivationPath
[src]
Convert into a DerivationPath that is a child of this one.
Trait Implementations
impl Into<Vec<ChildNumber>> for DerivationPath
[src]
fn into(self) -> Vec<ChildNumber>
[src]
impl AsRef<[ChildNumber]> for DerivationPath
[src]
fn as_ref(&self) -> &[ChildNumber]
[src]
impl PartialEq<DerivationPath> for DerivationPath
[src]
fn eq(&self, other: &DerivationPath) -> bool
[src]
fn ne(&self, other: &DerivationPath) -> bool
[src]
impl<'a> IntoIterator for &'a DerivationPath
[src]
type Item = &'a ChildNumber
The type of the elements being iterated over.
type IntoIter = Iter<'a, ChildNumber>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl From<Vec<ChildNumber>> for DerivationPath
[src]
fn from(numbers: Vec<ChildNumber>) -> Self
[src]
impl<'a> From<&'a [ChildNumber]> for DerivationPath
[src]
fn from(numbers: &'a [ChildNumber]) -> Self
[src]
impl Clone for DerivationPath
[src]
fn clone(&self) -> DerivationPath
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for DerivationPath
[src]
impl Display for DerivationPath
[src]
impl Debug for DerivationPath
[src]
impl Index<Range<usize>> for DerivationPath
[src]
type Output = [ChildNumber]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[ChildNumber]
[src]
impl Index<RangeTo<usize>> for DerivationPath
[src]
type Output = [ChildNumber]
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &[ChildNumber]
[src]
impl Index<RangeFrom<usize>> for DerivationPath
[src]
type Output = [ChildNumber]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[ChildNumber]
[src]
impl Index<RangeFull> for DerivationPath
[src]
type Output = [ChildNumber]
The returned type after indexing.
fn index(&self, _: RangeFull) -> &[ChildNumber]
[src]
impl FromIterator<ChildNumber> for DerivationPath
[src]
fn from_iter<T>(iter: T) -> Self where
T: IntoIterator<Item = ChildNumber>,
[src]
T: IntoIterator<Item = ChildNumber>,
impl FromStr for DerivationPath
[src]
Auto Trait Implementations
impl Send for DerivationPath
impl Sync for DerivationPath
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,