#[non_exhaustive]pub enum GreEncapType {
None,
Fou,
Gue,
Other(u16),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for GreEncapType
impl Clone for GreEncapType
Source§fn clone(&self) -> GreEncapType
fn clone(&self) -> GreEncapType
Returns a duplicate 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 Debug for GreEncapType
impl Debug for GreEncapType
Source§impl Default for GreEncapType
impl Default for GreEncapType
Source§fn default() -> GreEncapType
fn default() -> GreEncapType
Returns the “default value” for a type. Read more
Source§impl Display for GreEncapType
impl Display for GreEncapType
Source§impl From<&GreEncapType> for u16
impl From<&GreEncapType> for u16
Source§fn from(t: &GreEncapType) -> Self
fn from(t: &GreEncapType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for GreEncapType
impl From<u16> for GreEncapType
Source§impl PartialEq for GreEncapType
impl PartialEq for GreEncapType
impl Copy for GreEncapType
impl Eq for GreEncapType
impl StructuralPartialEq for GreEncapType
Auto Trait Implementations§
impl Freeze for GreEncapType
impl RefUnwindSafe for GreEncapType
impl Send for GreEncapType
impl Sync for GreEncapType
impl Unpin for GreEncapType
impl UnwindSafe for GreEncapType
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