pub struct RolledFacet {
pub facet: PetFacet,
pub pet_level: i64,
}Expand description
One rolled outcome: the facet the die landed on and the level of the pet it belongs to (rank scales the numbers of that facet and nothing else).
Fields§
§facet: PetFacet§pet_level: i64Trait Implementations§
Source§impl Clone for RolledFacet
impl Clone for RolledFacet
Source§fn clone(&self) -> RolledFacet
fn clone(&self) -> RolledFacet
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 RolledFacet
impl Debug for RolledFacet
Source§impl PartialEq for RolledFacet
impl PartialEq for RolledFacet
impl Copy for RolledFacet
impl Eq for RolledFacet
impl StructuralPartialEq for RolledFacet
Auto Trait Implementations§
impl Freeze for RolledFacet
impl RefUnwindSafe for RolledFacet
impl Send for RolledFacet
impl Sync for RolledFacet
impl Unpin for RolledFacet
impl UnwindSafe for RolledFacet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more