Expand description
Derive Macros§
- AsTo
Variant - Derive
as_variant(&self) -> Option<&InnerType>andto_variant(self) -> Option<InnerType>for an enum with simple variants in the formVariant(InnerType).
as_variant(&self) -> Option<&InnerType> and to_variant(self) -> Option<InnerType> for an enum with simple
variants in the form Variant(InnerType).