pub enum CardActions {
Blocks {},
Dies {},
Enters {},
Fight {},
Leave {},
}Variants§
Implementations§
Source§impl CardActions
impl CardActions
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for CardActions
impl Clone for CardActions
Source§fn clone(&self) -> CardActions
fn clone(&self) -> CardActions
Returns a duplicate 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 CardActions
impl Debug for CardActions
Source§impl<'de> Deserialize<'de> for CardActions
impl<'de> Deserialize<'de> for CardActions
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 Hash for CardActions
impl Hash for CardActions
Source§impl Idris for CardActions
impl Idris for CardActions
Source§impl Ord for CardActions
impl Ord for CardActions
Source§fn cmp(&self, other: &CardActions) -> Ordering
fn cmp(&self, other: &CardActions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CardActions
impl PartialEq for CardActions
Source§impl PartialOrd for CardActions
impl PartialOrd for CardActions
Source§impl Serialize for CardActions
impl Serialize for CardActions
impl Copy for CardActions
impl Eq for CardActions
impl StructuralPartialEq for CardActions
Auto Trait Implementations§
impl Freeze for CardActions
impl RefUnwindSafe for CardActions
impl Send for CardActions
impl Sync for CardActions
impl Unpin for CardActions
impl UnwindSafe for CardActions
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