Enum evtc::effect::EffectLocation
source · pub enum EffectLocation {
Agent(u64),
Position(Position),
}
Expand description
Location of an effect.
Variants§
Trait Implementations§
source§impl Clone for EffectLocation
impl Clone for EffectLocation
source§fn clone(&self) -> EffectLocation
fn clone(&self) -> EffectLocation
Returns a copy of the value. Read more
1.0.0 · 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 EffectLocation
impl Debug for EffectLocation
source§impl<'de> Deserialize<'de> for EffectLocation
impl<'de> Deserialize<'de> for EffectLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Extract for EffectLocation
impl Extract for EffectLocation
source§impl PartialEq for EffectLocation
impl PartialEq for EffectLocation
source§fn eq(&self, other: &EffectLocation) -> bool
fn eq(&self, other: &EffectLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EffectLocation
impl Serialize for EffectLocation
impl StructuralPartialEq for EffectLocation
Auto Trait Implementations§
impl Freeze for EffectLocation
impl RefUnwindSafe for EffectLocation
impl Send for EffectLocation
impl Sync for EffectLocation
impl Unpin for EffectLocation
impl UnwindSafe for EffectLocation
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