Struct bitcoin::util::bip32::Fingerprint [−][src]
pub struct Fingerprint(_);
A fingerprint
Implementations
impl Fingerprint
[src]
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 Clone for Fingerprint
[src]
impl Clone for Fingerprint
[src]fn clone(&self) -> Fingerprint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Fingerprint
[src]
impl Default for Fingerprint
[src]fn default() -> Fingerprint
[src]
impl<'de> Deserialize<'de> for Fingerprint
[src]
impl<'de> Deserialize<'de> for Fingerprint
[src]fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Fingerprint, D::Error>
[src]
impl FromHex 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,
pub fn from_hex(s: &str) -> Result<Self, Error>
[src]
impl FromStr for Fingerprint
[src]
impl FromStr for Fingerprint
[src]impl Hash for Fingerprint
[src]
impl Hash for Fingerprint
[src]impl Index<Range<usize>> for Fingerprint
[src]
impl Index<Range<usize>> for Fingerprint
[src]impl Index<RangeFrom<usize>> for Fingerprint
[src]
impl Index<RangeFrom<usize>> for Fingerprint
[src]impl Index<RangeFull> for Fingerprint
[src]
impl Index<RangeFull> for Fingerprint
[src]impl Index<RangeTo<usize>> for Fingerprint
[src]
impl Index<RangeTo<usize>> for Fingerprint
[src]impl Index<usize> for Fingerprint
[src]
impl Index<usize> for Fingerprint
[src]impl Ord for Fingerprint
[src]
impl Ord for Fingerprint
[src]impl PartialEq<Fingerprint> for Fingerprint
[src]
impl PartialEq<Fingerprint> for Fingerprint
[src]fn eq(&self, other: &Fingerprint) -> bool
[src]
fn ne(&self, other: &Fingerprint) -> bool
[src]
impl PartialOrd<Fingerprint> for Fingerprint
[src]
impl PartialOrd<Fingerprint> for Fingerprint
[src]impl Serialize for Fingerprint
[src]
impl Serialize for Fingerprint
[src]impl Copy for Fingerprint
[src]
impl Eq for Fingerprint
[src]
impl StructuralEq for Fingerprint
[src]
impl StructuralPartialEq for Fingerprint
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fingerprint
impl Send for Fingerprint
impl Sync for Fingerprint
impl Unpin for Fingerprint
impl UnwindSafe for Fingerprint
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,