Struct carnelian::render::generic::GenericOrder
source · pub struct GenericOrder<const MAX: usize>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<const MAX: usize> Clone for GenericOrder<MAX>
impl<const MAX: usize> Clone for GenericOrder<MAX>
source§fn clone(&self) -> GenericOrder<MAX>
fn clone(&self) -> GenericOrder<MAX>
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<const MAX: usize> Debug for GenericOrder<MAX>
impl<const MAX: usize> Debug for GenericOrder<MAX>
source§impl<const MAX: usize> Default for GenericOrder<MAX>
impl<const MAX: usize> Default for GenericOrder<MAX>
source§fn default() -> GenericOrder<MAX>
fn default() -> GenericOrder<MAX>
Returns the “default value” for a type. Read more
source§impl<const MAX: usize> Hash for GenericOrder<MAX>
impl<const MAX: usize> Hash for GenericOrder<MAX>
source§impl<const MAX: usize> Ord for GenericOrder<MAX>
impl<const MAX: usize> Ord for GenericOrder<MAX>
source§fn cmp(&self, other: &GenericOrder<MAX>) -> Ordering
fn cmp(&self, other: &GenericOrder<MAX>) -> 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<const MAX: usize> PartialEq for GenericOrder<MAX>
impl<const MAX: usize> PartialEq for GenericOrder<MAX>
source§fn eq(&self, other: &GenericOrder<MAX>) -> bool
fn eq(&self, other: &GenericOrder<MAX>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<const MAX: usize> PartialOrd for GenericOrder<MAX>
impl<const MAX: usize> PartialOrd for GenericOrder<MAX>
source§fn partial_cmp(&self, other: &GenericOrder<MAX>) -> Option<Ordering>
fn partial_cmp(&self, other: &GenericOrder<MAX>) -> 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 moresource§impl TryFrom<GenericOrder<MAX_ORDER>> for Order
impl TryFrom<GenericOrder<MAX_ORDER>> for Order
§type Error = OrderError
type Error = OrderError
The type returned in the event of a conversion error.
source§fn try_from(order: SceneOrder) -> Result<Self, OrderError>
fn try_from(order: SceneOrder) -> Result<Self, OrderError>
Performs the conversion.
source§impl<const MAX: usize> TryFrom<u32> for GenericOrder<MAX>
impl<const MAX: usize> TryFrom<u32> for GenericOrder<MAX>
§type Error = OrderError
type Error = OrderError
The type returned in the event of a conversion error.
source§impl<const MAX: usize> TryFrom<usize> for GenericOrder<MAX>
impl<const MAX: usize> TryFrom<usize> for GenericOrder<MAX>
§type Error = OrderError
type Error = OrderError
The type returned in the event of a conversion error.
impl<const MAX: usize> Copy for GenericOrder<MAX>
impl<const MAX: usize> Eq for GenericOrder<MAX>
impl<const MAX: usize> StructuralPartialEq for GenericOrder<MAX>
Auto Trait Implementations§
impl<const MAX: usize> Freeze for GenericOrder<MAX>
impl<const MAX: usize> RefUnwindSafe for GenericOrder<MAX>
impl<const MAX: usize> Send for GenericOrder<MAX>
impl<const MAX: usize> Sync for GenericOrder<MAX>
impl<const MAX: usize> Unpin for GenericOrder<MAX>
impl<const MAX: usize> UnwindSafe for GenericOrder<MAX>
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