pub struct EventItem {
pub name: Ident,
pub params: Vec<CommandParam>,
pub doc: String,
pub span: Span,
}Expand description
An event a module emits: fn opened(&self, path: String);
Fields§
§name: Ident§params: Vec<CommandParam>§doc: String§span: SpanTrait Implementations§
Auto Trait Implementations§
impl !Send for EventItem
impl !Sync for EventItem
impl Freeze for EventItem
impl RefUnwindSafe for EventItem
impl Unpin for EventItem
impl UnsafeUnpin for EventItem
impl UnwindSafe for EventItem
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