pub struct VariantDef {
pub fields: Vec<Ty>,
pub ret: Option<VariantRet>,
pub node_id: NodeId,
pub span: Span,
}
Fields§
§fields: Vec<Ty>
§ret: Option<VariantRet>
§node_id: NodeId
§span: Span
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VariantDef
impl RefUnwindSafe for VariantDef
impl Send for VariantDef
impl Sync for VariantDef
impl Unpin for VariantDef
impl UnwindSafe for VariantDef
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