pub struct OpDef {
pub name: &'static str,
pub arity: usize,
pub run: fn(&[Val]) -> OpResult,
}Fields§
§name: &'static str§arity: usize§run: fn(&[Val]) -> OpResultAuto Trait Implementations§
impl Freeze for OpDef
impl RefUnwindSafe for OpDef
impl Send for OpDef
impl Sync for OpDef
impl Unpin for OpDef
impl UnwindSafe for OpDef
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