Struct krush_engine::Definition
source · pub struct Definition { /* private fields */ }Expand description
Structure where to set the arguments using Type and the callback function to be called on the command evaluation by [Engine::evaluate] crate::Value::unwrap_str()
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Definition
impl Send for Definition
impl Sync for Definition
impl Unpin for Definition
impl UnwindSafe for Definition
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