pub enum Special<'a> {
SelfEnt,
Activator,
Caller,
Player,
PvsPlayer,
Picker,
Other(&'a str),
}Expand description
A !-prefixed target the engine resolves at runtime instead of by name.
Variants§
SelfEnt
!self - the entity holding the output.
Activator
!activator - whatever triggered the chain.
Caller
!caller - the entity that fired the output.
Player
!player - the first player.
PvsPlayer
!pvsplayer - the player whose PVS contains the caller.
Picker
!picker - the entity under the player’s crosshair.
Other(&'a str)
Any other unmapped ! target.
Trait Implementations§
impl<'a> Copy for Special<'a>
impl<'a> Eq for Special<'a>
impl<'a> StructuralPartialEq for Special<'a>
Auto Trait Implementations§
impl<'a> Freeze for Special<'a>
impl<'a> RefUnwindSafe for Special<'a>
impl<'a> Send for Special<'a>
impl<'a> Sync for Special<'a>
impl<'a> Unpin for Special<'a>
impl<'a> UnsafeUnpin for Special<'a>
impl<'a> UnwindSafe for Special<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.