pub struct Mfa {
pub module: ModuleName,
pub function: FunctionName,
pub arity: Arity,
}Fields§
§module: ModuleName§function: FunctionName§arity: ArityImplementations§
Source§impl Mfa
impl Mfa
pub fn new(module: ModuleName, function: FunctionName, arity: Arity) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mfa
impl<'de> Deserialize<'de> for Mfa
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Mfa
Source§impl Ord for Mfa
impl Ord for Mfa
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 PartialOrd for Mfa
impl PartialOrd for Mfa
impl StructuralPartialEq for Mfa
Auto Trait Implementations§
impl Freeze for Mfa
impl RefUnwindSafe for Mfa
impl Send for Mfa
impl Sync for Mfa
impl Unpin for Mfa
impl UnsafeUnpin for Mfa
impl UnwindSafe for Mfa
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