Struct dyon::FnReturnRef
source · pub struct FnReturnRef(pub fn(_: &mut Runtime) -> Result<Variable, String>);
Expand description
Used to store direct reference to external function.
Tuple Fields§
§0: fn(_: &mut Runtime) -> Result<Variable, String>
Trait Implementations§
source§impl Clone for FnReturnRef
impl Clone for FnReturnRef
source§fn clone(&self) -> FnReturnRef
fn clone(&self) -> FnReturnRef
Returns a copy of the value. Read more
1.0.0 · 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 FnReturnRef
impl Debug for FnReturnRef
impl Copy for FnReturnRef
Auto Trait Implementations§
impl RefUnwindSafe for FnReturnRef
impl Send for FnReturnRef
impl Sync for FnReturnRef
impl Unpin for FnReturnRef
impl UnwindSafe for FnReturnRef
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