#[repr(u8)]pub enum V6Environment {
Summer = 0,
Winter = 1,
Desert = 2,
}Variants§
Trait Implementations§
Source§impl Clone for V6Environment
impl Clone for V6Environment
Source§fn clone(&self) -> V6Environment
fn clone(&self) -> V6Environment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for V6Environment
Source§impl Debug for V6Environment
impl Debug for V6Environment
Source§impl Display for V6Environment
impl Display for V6Environment
impl Eq for V6Environment
Source§impl PartialEq for V6Environment
impl PartialEq for V6Environment
impl StructuralPartialEq for V6Environment
Source§impl TryFrom<u8> for V6Environment
impl TryFrom<u8> for V6Environment
Source§type Error = TryFromPrimitiveError<V6Environment>
type Error = TryFromPrimitiveError<V6Environment>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for V6Environment
impl TryFromPrimitive for V6Environment
const NAME: &'static str = "V6Environment"
type Primitive = u8
type Error = TryFromPrimitiveError<V6Environment>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for V6Environment
impl RefUnwindSafe for V6Environment
impl Send for V6Environment
impl Sync for V6Environment
impl Unpin for V6Environment
impl UnsafeUnpin for V6Environment
impl UnwindSafe for V6Environment
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.