[−][src]Struct script::hash::H32
Methods
impl H32
[src]
[−]
impl H32
pub fn take(self) -> [u8; 4]
[src]
pub fn take(self) -> [u8; 4]
pub fn reversed(&self) -> H32
[src]
pub fn reversed(&self) -> H32
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 H32
[src]
impl Eq for H32
impl PartialEq<H32> for H32
[src]
[+]
impl PartialEq<H32> for H32
impl Debug for H32
[src]
[+]
impl Debug for H32
impl FromStr for H32
[src]
[+]
impl FromStr for H32
impl Deref for H32
[src]
[+]
impl Deref for H32
impl AsRef<H32> for H32
[src]
[+]
impl AsRef<H32> for H32
impl Hash for H32
[src]
[+]
impl Hash for H32
impl From<&'static str> for H32
[src]
[+]
impl From<&'static str> for H32
impl From<[u8; 4]> for H32
[src]
[+]
impl From<[u8; 4]> for H32
impl From<H32> for [u8; 4]
[src]
[+]
impl From<H32> for [u8; 4]
impl From<u8> for H32
[src]
[+]
impl From<u8> for H32
impl<'a> From<&'a [u8]> for H32
[src]
[+]
impl<'a> From<&'a [u8]> for H32
impl PartialOrd<H32> for H32
[src]
[+]
impl PartialOrd<H32> for H32
impl HeapSizeOf for H32
[+]
impl HeapSizeOf for H32
impl Display for H32
[src]
[+]
impl Display for H32
impl Clone for H32
[src]
[+]
impl Clone for H32
impl DerefMut for H32
[src]
[+]
impl DerefMut for H32
impl Default for H32
[src]
[+]
impl Default for H32
impl Serializable for H32
[src]
[+]
impl Serializable for H32
impl Deserializable for H32
[src]
[+]
impl Deserializable for H32
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