Struct move_model::model::AbilityConstraint
source · pub struct AbilityConstraint(pub AbilitySet);
Tuple Fields§
§0: AbilitySet
Trait Implementations§
source§impl Clone for AbilityConstraint
impl Clone for AbilityConstraint
source§fn clone(&self) -> AbilityConstraint
fn clone(&self) -> AbilityConstraint
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 AbilityConstraint
impl Debug for AbilityConstraint
source§impl Ord for AbilityConstraint
impl Ord for AbilityConstraint
source§fn cmp(&self, other: &AbilityConstraint) -> Ordering
fn cmp(&self, other: &AbilityConstraint) -> 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<AbilityConstraint> for AbilityConstraint
impl PartialEq<AbilityConstraint> for AbilityConstraint
source§fn eq(&self, other: &AbilityConstraint) -> bool
fn eq(&self, other: &AbilityConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AbilityConstraint> for AbilityConstraint
impl PartialOrd<AbilityConstraint> for AbilityConstraint
source§fn partial_cmp(&self, other: &AbilityConstraint) -> Option<Ordering>
fn partial_cmp(&self, other: &AbilityConstraint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AbilityConstraint
impl Eq for AbilityConstraint
impl StructuralEq for AbilityConstraint
impl StructuralPartialEq for AbilityConstraint
Auto Trait Implementations§
impl RefUnwindSafe for AbilityConstraint
impl Send for AbilityConstraint
impl Sync for AbilityConstraint
impl Unpin for AbilityConstraint
impl UnwindSafe for AbilityConstraint
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.