#[repr(C)]pub struct MethodFingerprint(/* private fields */);
Expand description
Hash of method’s compact metadata, which uniquely represents method signature.
While nothing can be said about method implementation, matching method fingerprint means method
name, inputs and outputs are what they are expected to be (struct and field names are ignored as
explained in ContractMetadataKind::compact
.
Implementations§
Trait Implementations§
Source§impl Clone for MethodFingerprint
impl Clone for MethodFingerprint
Source§fn clone(&self) -> MethodFingerprint
fn clone(&self) -> MethodFingerprint
Returns a copy 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 MethodFingerprint
impl Debug for MethodFingerprint
Source§impl Display for MethodFingerprint
impl Display for MethodFingerprint
Source§impl Hash for MethodFingerprint
impl Hash for MethodFingerprint
Source§impl Ord for MethodFingerprint
impl Ord for MethodFingerprint
Source§fn cmp(&self, other: &MethodFingerprint) -> Ordering
fn cmp(&self, other: &MethodFingerprint) -> 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 MethodFingerprint
impl PartialEq for MethodFingerprint
Source§impl PartialOrd for MethodFingerprint
impl PartialOrd for MethodFingerprint
impl Copy for MethodFingerprint
impl Eq for MethodFingerprint
impl StructuralPartialEq for MethodFingerprint
Auto Trait Implementations§
impl Freeze for MethodFingerprint
impl RefUnwindSafe for MethodFingerprint
impl Send for MethodFingerprint
impl Sync for MethodFingerprint
impl Unpin for MethodFingerprint
impl UnwindSafe for MethodFingerprint
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