pub enum TimeOfDay {
Night,
Morning,
Afternoon,
Evening,
}Variants§
Trait Implementations§
Source§impl Linearize for TimeOfDay
impl Linearize for TimeOfDay
Source§unsafe fn from_linear_unchecked(linear: usize) -> Self
unsafe fn from_linear_unchecked(linear: usize) -> Self
The inverse of the
linearize function. Read moreSource§impl Ord for TimeOfDay
impl Ord for TimeOfDay
Source§impl PartialOrd for TimeOfDay
impl PartialOrd for TimeOfDay
impl Copy for TimeOfDay
impl Eq for TimeOfDay
impl StructuralPartialEq for TimeOfDay
Auto Trait Implementations§
impl Freeze for TimeOfDay
impl RefUnwindSafe for TimeOfDay
impl Send for TimeOfDay
impl Sync for TimeOfDay
impl Unpin for TimeOfDay
impl UnwindSafe for TimeOfDay
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§impl<T> LinearizeExt for T
impl<T> LinearizeExt for T
Source§fn from_linear(linear: usize) -> Option<T>
fn from_linear(linear: usize) -> Option<T>
A safe version of Linearize::from_linear_unchecked. Read more
Source§fn linearized(&self) -> Linearized<T>
fn linearized(&self) -> Linearized<T>
Linearizes this value and stores the value in a Linearized object. Read more