pub struct ModuleFn {
pub name: &'static str,
pub arity: usize,
pub runtime_fn: &'static str,
pub hint: &'static str,
}Expand description
One callable member of a module: its arity, the runtime function a call emits, and the call-shape hint shown in arity diagnostics.
Fields§
§name: &'static str§arity: usize§runtime_fn: &'static str§hint: &'static strAuto Trait Implementations§
impl Freeze for ModuleFn
impl RefUnwindSafe for ModuleFn
impl Send for ModuleFn
impl Sync for ModuleFn
impl Unpin for ModuleFn
impl UnsafeUnpin for ModuleFn
impl UnwindSafe for ModuleFn
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