Struct derive_utils::EnumData [−][src]
pub struct EnumData { /* fields omitted */ }
Expand description
A structure to make trait implementation to enums more efficient.
Implementations
Returns an iterator over field types.
enum Enum<TypeA, TypeB> {
VariantA(TypeA),
^^^^^
VariantB(TypeB),
^^^^^
}
Returns an iterator over variant names.
enum Enum<TypeA, TypeB> {
VariantA(TypeA),
^^^^^^^^
VariantB(TypeB),
^^^^^^^^
}
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EnumData
impl UnwindSafe for EnumData
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more