pub type Order = GenericOrder<CARNELIAN_MAX_ORDER>;
Aliased Type§
struct Order(/* private fields */);
Implementations
Trait Implementations§
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> 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<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.