#[repr(u8)]pub enum Planet {
Sun = 0,
Erekir = 1,
Gier = 2,
Notva = 3,
Tantros = 4,
Serpulo = 5,
Verlius = 6,
}Variants§
Trait Implementations§
Source§impl Ord for Planet
impl Ord for Planet
Source§impl PartialOrd for Planet
impl PartialOrd for Planet
Source§impl TryFrom<u8> for Planet
impl TryFrom<u8> for Planet
Source§type Error = TryFromU8Error
type Error = TryFromU8Error
The type returned in the event of a conversion error.
impl Copy for Planet
impl Eq for Planet
impl StructuralPartialEq for Planet
Auto Trait Implementations§
impl Freeze for Planet
impl RefUnwindSafe for Planet
impl Send for Planet
impl Sync for Planet
impl Unpin for Planet
impl UnwindSafe for Planet
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more