pub struct Func {
pub type_ref: EntryRef<Type>,
pub origin: ImportedOrDeclared<FuncBody>,
}
Expand description
Function declaration.
As with other instances, functions can be either imported or declared
within the module - origin
field is handling this.
Fields§
§type_ref: EntryRef<Type>
Function signature/type reference.
origin: ImportedOrDeclared<FuncBody>
Where this function comes from (imported or declared).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Func
impl !RefUnwindSafe for Func
impl !Send for Func
impl !Sync for Func
impl Unpin for Func
impl !UnwindSafe for Func
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