Struct witnext::Case [−][src]
Expand description
One of a number of possible types that a Variant
can take.
Fields
name: Id
The name of this case and how to identify it.
tref: Option<TypeRef>
An optional payload type for this case and data that can be associated with it.
docs: String
Documentation for this case.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Case
impl !UnwindSafe for Case
Blanket Implementations
Mutably borrows from an owned value. Read more