Enum EnumVariantCustomBehavior
enum EnumVariantCustomBehavior
An enum representing custom handling that can be given to a variant.
Variants
-
ModuleConstify This variant will be a module containing constants.
-
Constify This variant will be constified, that is, forced to generate a constant.
-
Hide This variant will be hidden entirely from the resulting enum.
Implementations
impl Clone for EnumVariantCustomBehavior
fn clone(self: &Self) -> EnumVariantCustomBehavior
impl Copy for EnumVariantCustomBehavior
impl Debug for EnumVariantCustomBehavior
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for EnumVariantCustomBehavior
impl Freeze for EnumVariantCustomBehavior
impl PartialEq for EnumVariantCustomBehavior
fn eq(self: &Self, other: &EnumVariantCustomBehavior) -> bool
impl RefUnwindSafe for EnumVariantCustomBehavior
impl Send for EnumVariantCustomBehavior
impl StructuralPartialEq for EnumVariantCustomBehavior
impl Sync for EnumVariantCustomBehavior
impl Unpin for EnumVariantCustomBehavior
impl UnwindSafe for EnumVariantCustomBehavior
impl<T> Any for EnumVariantCustomBehavior
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for EnumVariantCustomBehavior
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for EnumVariantCustomBehavior
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for EnumVariantCustomBehavior
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for EnumVariantCustomBehavior
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for EnumVariantCustomBehavior
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for EnumVariantCustomBehavior
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for EnumVariantCustomBehavior
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for EnumVariantCustomBehavior
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>