Struct molt_forked::interp::Procedure
source · pub struct Procedure { /* private fields */ }Expand description
How a procedure is defined: as an argument list and a body script. The argument list is a list of Values, and the body is a Value; each will retain its parsed form.
NOTE: We do not save the procedure’s name; the name exists only in the commands table, and can be changed there freely. The procedure truly doesn’t know what its name is except when it is being executed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Procedure
impl !RefUnwindSafe for Procedure
impl !Send for Procedure
impl !Sync for Procedure
impl Unpin for Procedure
impl !UnwindSafe for Procedure
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)