#[repr(u8)]pub enum Planet {
Sun,
Erekir,
Gier,
Notva,
Tantros,
Serpulo,
Verlius,
}Variants§
Trait Implementations§
source§impl Ord for Planet
impl Ord for Planet
source§impl PartialEq<Planet> for Planet
impl PartialEq<Planet> for Planet
source§impl PartialOrd<Planet> for Planet
impl PartialOrd<Planet> for Planet
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<u8> for Planet
impl TryFrom<u8> for Planet
§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 StructuralEq for Planet
impl StructuralPartialEq for Planet
Auto Trait Implementations§
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