Struct themelios::types::QuestFlags
source · #[repr(transparent)]pub struct QuestFlags(pub u8);Tuple Fields§
§0: u8Trait Implementations§
source§impl Clone for QuestFlags
impl Clone for QuestFlags
source§fn clone(&self) -> QuestFlags
fn clone(&self) -> QuestFlags
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 QuestFlags
impl Debug for QuestFlags
source§impl From<u8> for QuestFlags
impl From<u8> for QuestFlags
source§fn from(v: u8) -> QuestFlags
fn from(v: u8) -> QuestFlags
Converts to this type from the input type.
source§impl Hash for QuestFlags
impl Hash for QuestFlags
source§impl Ord for QuestFlags
impl Ord for QuestFlags
source§fn cmp(&self, other: &QuestFlags) -> Ordering
fn cmp(&self, other: &QuestFlags) -> 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<QuestFlags> for QuestFlags
impl PartialEq<QuestFlags> for QuestFlags
source§fn eq(&self, other: &QuestFlags) -> bool
fn eq(&self, other: &QuestFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<QuestFlags> for QuestFlags
impl PartialOrd<QuestFlags> for QuestFlags
source§fn partial_cmp(&self, other: &QuestFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QuestFlags) -> 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 QuestFlags
impl Eq for QuestFlags
impl StructuralEq for QuestFlags
impl StructuralPartialEq for QuestFlags
Auto Trait Implementations§
impl RefUnwindSafe for QuestFlags
impl Send for QuestFlags
impl Sync for QuestFlags
impl Unpin for QuestFlags
impl UnwindSafe for QuestFlags
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