pub struct SonicBotEventModule<'a> {
pub name: String,
pub essential: bool,
pub main: Box<dyn Fn(EventArgs<'a>) -> Vec<Instructions>>,
/* private fields */
}
Fields§
§name: String
§essential: bool
§main: Box<dyn Fn(EventArgs<'a>) -> Vec<Instructions>>
Auto Trait Implementations§
impl<'a> Freeze for SonicBotEventModule<'a>
impl<'a> !RefUnwindSafe for SonicBotEventModule<'a>
impl<'a> !Send for SonicBotEventModule<'a>
impl<'a> !Sync for SonicBotEventModule<'a>
impl<'a> Unpin for SonicBotEventModule<'a>
impl<'a> !UnwindSafe for SonicBotEventModule<'a>
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