pub struct EnumerationTypeVariant<'types> {
pub info: &'types VariantInfo,
pub variant_ident: Ident,
pub target_type: Option<IdentPath>,
}Expand description
Represents a enumeration variant used by EnumerationType.
Fields§
§info: &'types VariantInfoReference to the original type information.
variant_ident: IdentName of this variant.
target_type: Option<IdentPath>Target type of this variant.
Trait Implementations§
Auto Trait Implementations§
impl<'types> Freeze for EnumerationTypeVariant<'types>
impl<'types> RefUnwindSafe for EnumerationTypeVariant<'types>
impl<'types> !Send for EnumerationTypeVariant<'types>
impl<'types> !Sync for EnumerationTypeVariant<'types>
impl<'types> Unpin for EnumerationTypeVariant<'types>
impl<'types> UnwindSafe for EnumerationTypeVariant<'types>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more