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