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