pub enum EventTarget {
All,
Slot(u8),
Hero(String),
}Expand description
The player filter attached to a player-scoped Workshop event.
Variants§
Trait Implementations§
Source§impl Clone for EventTarget
impl Clone for EventTarget
Source§fn clone(&self) -> EventTarget
fn clone(&self) -> EventTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventTarget
impl Debug for EventTarget
impl Eq for EventTarget
Source§impl PartialEq for EventTarget
impl PartialEq for EventTarget
impl StructuralPartialEq for EventTarget
Auto Trait Implementations§
impl Freeze for EventTarget
impl RefUnwindSafe for EventTarget
impl Send for EventTarget
impl Sync for EventTarget
impl Unpin for EventTarget
impl UnsafeUnpin for EventTarget
impl UnwindSafe for EventTarget
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