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§fn clone(&self) -> ImportedFunction
fn clone(&self) -> ImportedFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImportedFunction
impl Debug for ImportedFunction
impl Eq for ImportedFunction
Source§impl Ord for ImportedFunction
impl Ord for ImportedFunction
Source§fn cmp(&self, other: &ImportedFunction) -> Ordering
fn cmp(&self, other: &ImportedFunction) -> Ordering
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
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 Freeze 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