pub enum PlayerProperties {
HandSize {},
LifeTotal {},
MaximumHandSize {},
StartingLifeTotal {},
OpeningHand {},
}Variants§
Implementations§
Source§impl PlayerProperties
impl PlayerProperties
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for PlayerProperties
impl Clone for PlayerProperties
Source§fn clone(&self) -> PlayerProperties
fn clone(&self) -> PlayerProperties
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 PlayerProperties
impl Debug for PlayerProperties
Source§impl<'de> Deserialize<'de> for PlayerProperties
impl<'de> Deserialize<'de> for PlayerProperties
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 PlayerProperties
impl Hash for PlayerProperties
Source§impl Idris for PlayerProperties
impl Idris for PlayerProperties
Source§impl Ord for PlayerProperties
impl Ord for PlayerProperties
Source§fn cmp(&self, other: &PlayerProperties) -> Ordering
fn cmp(&self, other: &PlayerProperties) -> 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 PlayerProperties
impl PartialEq for PlayerProperties
Source§impl PartialOrd for PlayerProperties
impl PartialOrd for PlayerProperties
Source§impl Serialize for PlayerProperties
impl Serialize for PlayerProperties
impl Copy for PlayerProperties
impl Eq for PlayerProperties
impl StructuralPartialEq for PlayerProperties
Auto Trait Implementations§
impl Freeze for PlayerProperties
impl RefUnwindSafe for PlayerProperties
impl Send for PlayerProperties
impl Sync for PlayerProperties
impl Unpin for PlayerProperties
impl UnwindSafe for PlayerProperties
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