pub struct PrimOp {
pub name: &'static str,
pub func: fn(&[Value]) -> Value,
}
Fields§
§name: &'static str
§func: fn(&[Value]) -> Value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrimOp
impl RefUnwindSafe for PrimOp
impl Send for PrimOp
impl Sync for PrimOp
impl Unpin for PrimOp
impl UnwindSafe for PrimOp
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