pub enum MiraFunction {
Native(MiraNativeFn),
// some variants omitted
}Expand description
A native or execution-scoped script function.
Variants§
Native(MiraNativeFn)
A host callback that may safely outlive an execution.
Implementations§
Trait Implementations§
Source§impl Clone for MiraFunction
impl Clone for MiraFunction
Source§fn clone(&self) -> MiraFunction
fn clone(&self) -> MiraFunction
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for MiraFunction
impl !Send for MiraFunction
impl !Sync for MiraFunction
impl !UnwindSafe for MiraFunction
impl Freeze for MiraFunction
impl Unpin for MiraFunction
impl UnsafeUnpin for MiraFunction
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