pub struct EnumVariant {
pub extent: Extent,
pub name: Ident,
pub body: EnumVariantBody,
pub whitespace: Vec<Whitespace>,
}Expand description
Fields§
§extent: Extent§name: Ident§body: EnumVariantBody§whitespace: Vec<Whitespace>Trait Implementations§
Source§impl Debug for EnumVariant
impl Debug for EnumVariant
Source§impl<'a> Index<&'a EnumVariant> for str
impl<'a> Index<&'a EnumVariant> for str
Source§impl Index<EnumVariant> for str
impl Index<EnumVariant> for str
Auto Trait Implementations§
impl Freeze for EnumVariant
impl RefUnwindSafe for EnumVariant
impl Send for EnumVariant
impl Sync for EnumVariant
impl Unpin for EnumVariant
impl UnsafeUnpin for EnumVariant
impl UnwindSafe for EnumVariant
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