pub struct SourceHash(/* private fields */);Expand description
The hash of canonical contract source.
Implementations§
Source§impl SourceHash
impl SourceHash
Trait Implementations§
Source§impl Clone for SourceHash
impl Clone for SourceHash
impl Copy for SourceHash
Source§impl Debug for SourceHash
impl Debug for SourceHash
impl Eq for SourceHash
Source§impl Hash for SourceHash
impl Hash for SourceHash
Source§impl Ord for SourceHash
impl Ord for SourceHash
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceHash
impl PartialEq for SourceHash
Source§impl PartialOrd for SourceHash
impl PartialOrd for SourceHash
impl StructuralPartialEq for SourceHash
Auto Trait Implementations§
impl Freeze for SourceHash
impl RefUnwindSafe for SourceHash
impl Send for SourceHash
impl Sync for SourceHash
impl Unpin for SourceHash
impl UnsafeUnpin for SourceHash
impl UnwindSafe for SourceHash
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