pub struct ScriptHash(pub [u8; 28]);
Tuple Fields§
§0: [u8; 28]
Implementations§
Source§impl ScriptHash
impl ScriptHash
Trait Implementations§
Source§impl Clone for ScriptHash
impl Clone for ScriptHash
Source§fn clone(&self) -> ScriptHash
fn clone(&self) -> ScriptHash
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ScriptHash
impl Debug for ScriptHash
Source§impl Decode for ScriptHash
impl Decode for ScriptHash
Source§impl Display for ScriptHash
impl Display for ScriptHash
Source§impl Hash for ScriptHash
impl Hash for ScriptHash
Source§impl Ord for ScriptHash
impl Ord for ScriptHash
Source§fn cmp(&self, other: &ScriptHash) -> Ordering
fn cmp(&self, other: &ScriptHash) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScriptHash
impl PartialEq for ScriptHash
Source§impl PartialOrd for ScriptHash
impl PartialOrd for ScriptHash
impl Eq for ScriptHash
impl StructuralPartialEq for ScriptHash
Auto Trait Implementations§
impl Freeze for ScriptHash
impl RefUnwindSafe for ScriptHash
impl Send for ScriptHash
impl Sync for ScriptHash
impl Unpin for ScriptHash
impl UnwindSafe for ScriptHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more