[−][src]Enum destruct_lib::DestructEnumVariant
Variants
Head(H, PhantomData<&'static M>)
Tail(T, PhantomData<&'static M>)
Methods
impl<H, T, M: DestructEnumVariantMetadata + 'static> DestructEnumVariant<H, T, M>
[src]
impl<H, T, M: DestructEnumVariantMetadata + 'static> DestructEnumVariant<H, T, M>
[src]
impl<H, T, M: DestructEnumVariantMetadata + 'static> DestructEnumVariant<H, T, M>
[src]
pub fn enum_name() -> &'static str
[src]
pub fn variant_name() -> &'static str
[src]
pub fn variant_index() -> usize
[src]
Trait Implementations
impl<H: Eq, T: Eq, M: Eq + DestructEnumVariantMetadata + 'static> Eq for DestructEnumVariant<H, T, M>
[src]
impl<H: PartialEq, T: PartialEq, M: PartialEq + DestructEnumVariantMetadata + 'static> PartialEq<DestructEnumVariant<H, T, M>> for DestructEnumVariant<H, T, M>
[src]
fn eq(&self, other: &DestructEnumVariant<H, T, M>) -> bool
[src]
fn ne(&self, other: &DestructEnumVariant<H, T, M>) -> bool
[src]
impl<H: Debug, T: Debug, M: Debug + DestructEnumVariantMetadata + 'static> Debug for DestructEnumVariant<H, T, M>
[src]
impl<H, T, M: DestructEnumVariantMetadata + 'static> StructuralPartialEq for DestructEnumVariant<H, T, M>
[src]
impl<H, T, M: DestructEnumVariantMetadata + 'static> StructuralEq for DestructEnumVariant<H, T, M>
[src]
Auto Trait Implementations
impl<H, T, M> Send for DestructEnumVariant<H, T, M> where
H: Send,
M: Sync,
T: Send,
H: Send,
M: Sync,
T: Send,
impl<H, T, M> Sync for DestructEnumVariant<H, T, M> where
H: Sync,
M: Sync,
T: Sync,
H: Sync,
M: Sync,
T: Sync,
impl<H, T, M> Unpin for DestructEnumVariant<H, T, M> where
H: Unpin,
T: Unpin,
H: Unpin,
T: Unpin,
impl<H, T, M> UnwindSafe for DestructEnumVariant<H, T, M> where
H: UnwindSafe,
M: RefUnwindSafe,
T: UnwindSafe,
H: UnwindSafe,
M: RefUnwindSafe,
T: UnwindSafe,
impl<H, T, M> RefUnwindSafe for DestructEnumVariant<H, T, M> where
H: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
H: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,