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§impl<const MAX: usize> PartialOrd for GenericOrder<MAX>
impl<const MAX: usize> PartialOrd for GenericOrder<MAX>
Source§impl TryFrom<GenericOrder<MAX_ORDER>> for Order
impl TryFrom<GenericOrder<MAX_ORDER>> for Order
Source§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>
Source§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>
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)