pub struct ImportedFunction {
pub module: ModuleName,
pub function: FunctionName,
pub arity: Arity,
}Expand description
A function brought into a module’s namespace by -import(Module, [f/a, ...]). The module is retained so a patch-added import can be
resolved as the cross-module reference m:f/a it actually is.
Fields§
§module: ModuleName§function: FunctionName§arity: ArityTrait Implementations§
Source§impl Clone for ImportedFunction
impl Clone for ImportedFunction
Source§impl Debug for ImportedFunction
impl Debug for ImportedFunction
impl Eq for ImportedFunction
Source§impl Ord for ImportedFunction
impl Ord for ImportedFunction
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 ImportedFunction
impl PartialEq for ImportedFunction
Source§impl PartialOrd for ImportedFunction
impl PartialOrd for ImportedFunction
impl StructuralPartialEq for ImportedFunction
Auto Trait Implementations§
impl Forget for ImportedFunction
impl Freeze for ImportedFunction
impl Move for ImportedFunction
impl RefUnwindSafe for ImportedFunction
impl Send for ImportedFunction
impl Sync for ImportedFunction
impl Unpin for ImportedFunction
impl UnsafeUnpin for ImportedFunction
impl UnwindSafe for ImportedFunction
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