[−][src]Struct bitcoin::util::bip32::Fingerprint
A fingerprint
Methods
impl Fingerprint
[src]
pub fn as_ptr(&self) -> *const u8
[src]
Converts the object to a raw pointer
pub fn as_mut_ptr(&mut self) -> *mut u8
[src]
Converts the object to a mutable raw pointer
pub fn len(&self) -> usize
[src]
Returns the length of the object as an array
pub fn is_empty(&self) -> bool
[src]
Returns whether the object, as an array, is empty. Always false.
pub fn as_bytes(&self) -> &[u8; 4]
[src]
Returns the underlying bytes.
pub fn to_bytes(&self) -> [u8; 4]
[src]
Returns the underlying bytes.
pub fn into_bytes(self) -> [u8; 4]
[src]
Returns the underlying bytes.
Trait Implementations
impl<'a> From<&'a [u8]> for Fingerprint
[src]
impl Ord for Fingerprint
[src]
fn cmp(&self, other: &Fingerprint) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<Fingerprint> for Fingerprint
[src]
fn partial_cmp(&self, other: &Fingerprint) -> Option<Ordering>
[src]
fn lt(&self, other: &Fingerprint) -> bool
[src]
fn le(&self, other: &Fingerprint) -> bool
[src]
fn gt(&self, other: &Fingerprint) -> bool
[src]
fn ge(&self, other: &Fingerprint) -> bool
[src]
impl Default for Fingerprint
[src]
fn default() -> Fingerprint
[src]
impl Clone for Fingerprint
[src]
fn clone(&self) -> Fingerprint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Fingerprint> for Fingerprint
[src]
fn eq(&self, other: &Fingerprint) -> bool
[src]
fn ne(&self, other: &Fingerprint) -> bool
[src]
impl Eq for Fingerprint
[src]
impl Copy for Fingerprint
[src]
impl Display for Fingerprint
[src]
impl Debug for Fingerprint
[src]
impl Index<usize> for Fingerprint
[src]
impl Index<Range<usize>> for Fingerprint
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[u8]
[src]
impl Index<RangeTo<usize>> for Fingerprint
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &[u8]
[src]
impl Index<RangeFrom<usize>> for Fingerprint
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[u8]
[src]
impl Index<RangeFull> for Fingerprint
[src]
impl Hash for Fingerprint
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl FromStr for Fingerprint
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl LowerHex for Fingerprint
[src]
impl FromHex for Fingerprint
[src]
fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[src]
Produce an object from a hex string
Auto Trait Implementations
impl Unpin for Fingerprint
impl Sync for Fingerprint
impl Send for Fingerprint
impl UnwindSafe for Fingerprint
impl RefUnwindSafe for Fingerprint
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
impl<T> FromHex for T where
T: Hash,
[src]
T: Hash,
fn from_byte_iter<I>(iter: I) -> Result<T, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[src]
Produce an object from a hex string