Enum veloren_common::comp::shockwave::ShockwaveDodgeable
source · pub enum ShockwaveDodgeable {
Roll,
Jump,
No,
}
Variants§
Implementations§
source§impl ShockwaveDodgeable
impl ShockwaveDodgeable
pub fn to_attack_source(&self) -> AttackSource
Trait Implementations§
source§impl Clone for ShockwaveDodgeable
impl Clone for ShockwaveDodgeable
source§fn clone(&self) -> ShockwaveDodgeable
fn clone(&self) -> ShockwaveDodgeable
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 ShockwaveDodgeable
impl Debug for ShockwaveDodgeable
source§impl<'de> Deserialize<'de> for ShockwaveDodgeable
impl<'de> Deserialize<'de> for ShockwaveDodgeable
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 PartialEq for ShockwaveDodgeable
impl PartialEq for ShockwaveDodgeable
source§fn eq(&self, other: &ShockwaveDodgeable) -> bool
fn eq(&self, other: &ShockwaveDodgeable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ShockwaveDodgeable
impl Serialize for ShockwaveDodgeable
impl Copy for ShockwaveDodgeable
impl StructuralPartialEq for ShockwaveDodgeable
Auto Trait Implementations§
impl RefUnwindSafe for ShockwaveDodgeable
impl Send for ShockwaveDodgeable
impl Sync for ShockwaveDodgeable
impl Unpin for ShockwaveDodgeable
impl UnwindSafe for ShockwaveDodgeable
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
§impl<C, M> ConvertSaveload<M> for C
impl<C, M> ConvertSaveload<M> for C
§type Error = Infallible
type Error = Infallible
Error may occur during serialization or deserialization of component
§fn convert_into<F>(
&self,
_: F
) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
fn convert_into<F>( &self, _: F ) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
Convert this data type into serializable form (
Data
) using
entity to marker mapping function§fn convert_from<F>(
data: <C as ConvertSaveload<M>>::Data,
_: F
) -> Result<C, <C as ConvertSaveload<M>>::Error>
fn convert_from<F>( data: <C as ConvertSaveload<M>>::Data, _: F ) -> Result<C, <C as ConvertSaveload<M>>::Error>
Convert this data from a deserializable form (
Data
) using
entity to marker mapping function