pub enum FnIndex {
None,
Loaded(isize),
Void(FnVoidRef),
Return(FnReturnRef),
Lazy(FnReturnRef, LazyInvariant),
BinOp(FnBinOpRef),
UnOp(FnUnOpRef),
}
Expand description
Refers to a function.
Variants§
None
No function.
Loaded(isize)
Relative to function you call from.
Void(FnVoidRef)
External function with no return value.
Return(FnReturnRef)
Extern function with return value.
Lazy(FnReturnRef, LazyInvariant)
Extern function with return value and lazy invariant.
BinOp(FnBinOpRef)
Extern binary operator.
UnOp(FnUnOpRef)
Extern unary operator.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FnIndex
impl Send for FnIndex
impl Sync for FnIndex
impl Unpin for FnIndex
impl !UnwindSafe for FnIndex
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