[−][src]Struct script::hash::H48
Methods
impl H48
[src]
[−]
impl H48
pub fn take(self) -> [u8; 6]
[src]
pub fn take(self) -> [u8; 6]
pub fn reversed(&self) -> H48
[src]
pub fn reversed(&self) -> H48
pub fn size() -> usize
[src]
pub fn size() -> usize
pub fn is_zero(&self) -> bool
[src]
pub fn is_zero(&self) -> bool
Trait Implementations
impl Eq for H48
[src]
impl Eq for H48
impl PartialEq<H48> for H48
[src]
[+]
impl PartialEq<H48> for H48
impl Debug for H48
[src]
[+]
impl Debug for H48
impl FromStr for H48
[src]
[+]
impl FromStr for H48
impl Deref for H48
[src]
[+]
impl Deref for H48
impl AsRef<H48> for H48
[src]
[+]
impl AsRef<H48> for H48
impl Hash for H48
[src]
[+]
impl Hash for H48
impl<'a> From<&'a [u8]> for H48
[src]
[+]
impl<'a> From<&'a [u8]> for H48
impl From<H48> for [u8; 6]
[src]
[+]
impl From<H48> for [u8; 6]
impl From<u8> for H48
[src]
[+]
impl From<u8> for H48
impl From<[u8; 6]> for H48
[src]
[+]
impl From<[u8; 6]> for H48
impl From<&'static str> for H48
[src]
[+]
impl From<&'static str> for H48
impl PartialOrd<H48> for H48
[src]
[+]
impl PartialOrd<H48> for H48
impl HeapSizeOf for H48
[+]
impl HeapSizeOf for H48
impl Display for H48
[src]
[+]
impl Display for H48
impl Clone for H48
[src]
[+]
impl Clone for H48
impl DerefMut for H48
[src]
[+]
impl DerefMut for H48
impl Default for H48
[src]
[+]
impl Default for H48
impl Serializable for H48
[src]
[+]
impl Serializable for H48
impl Deserializable for H48
[src]
[+]
impl Deserializable for H48
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
[−]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
[−]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
[−]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
[−]
impl<T> From for T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
[−]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> Into for T where
U: From<T>,
[src]
[−]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
[−]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
[−]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
[−]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T
[src]
[−]
ⓘImportant traits for &'a mut R
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
[−]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
[−]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
[−]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T
[src]
[−]
ⓘImportant traits for &'a mut R
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
[−]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
[−]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more