Struct nom::lib::std::mem::Discriminant 1.21.0[−][src]
pub struct Discriminant<T>(_);
Opaque type representing the discriminant of an enum.
See the discriminant
function in this module for more information.
Trait Implementations
impl<T> Clone for Discriminant<T>
[src]
impl<T> Clone for Discriminant<T>
[src]pub fn clone(&self) -> Discriminant<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for Discriminant<T>
[src]
impl<T> Debug for Discriminant<T>
[src]impl<T> Hash for Discriminant<T>
[src]
impl<T> Hash for Discriminant<T>
[src]impl<T> PartialEq<Discriminant<T>> for Discriminant<T>
[src]
impl<T> PartialEq<Discriminant<T>> for Discriminant<T>
[src]impl<T> Copy for Discriminant<T>
[src]
impl<T> Eq for Discriminant<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Discriminant<T> where
<T as DiscriminantKind>::Discriminant: RefUnwindSafe,
<T as DiscriminantKind>::Discriminant: RefUnwindSafe,
impl<T> Send for Discriminant<T>
impl<T> Sync for Discriminant<T>
impl<T> Unpin for Discriminant<T>
impl<T> UnwindSafe for Discriminant<T> where
<T as DiscriminantKind>::Discriminant: UnwindSafe,
<T as DiscriminantKind>::Discriminant: UnwindSafe,