pub struct VariantItem {
pub name: Ident,
pub fields: Vec<FieldItem>,
pub label: Option<Tr>,
pub doc: String,
pub span: Span,
}Fields§
§name: Ident§fields: Vec<FieldItem>§label: Option<Tr>§doc: String§span: SpanTrait Implementations§
Source§impl Clone for VariantItem
impl Clone for VariantItem
Auto Trait Implementations§
impl !Send for VariantItem
impl !Sync for VariantItem
impl Freeze for VariantItem
impl RefUnwindSafe for VariantItem
impl Unpin for VariantItem
impl UnsafeUnpin for VariantItem
impl UnwindSafe for VariantItem
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