pub enum Event {
Global,
EachPlayer,
EachPlayerWithFilters {
team: EventTeam,
target: EventTarget,
},
Player {
kind: PlayerEventKind,
team: EventTeam,
target: EventTarget,
},
Subroutine(SubroutineId),
}Expand description
A workshop event.
Variants§
Global
Ongoing - Global (from @Event global).
EachPlayer
Ongoing - Each Player (from @Event eachPlayer).
EachPlayerWithFilters
Ongoing - Each Player with its canonical team/player filters.
Player
A player-scoped Workshop event with canonical filters.
Subroutine(SubroutineId)
A subroutine body (def name():), referencing the subroutine.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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