Struct virtue::parse::StructBody
source · pub struct StructBody {
pub fields: Option<Fields>,
}
Expand description
The body of a struct
Fields§
§fields: Option<Fields>
The fields of this struct, None
if this struct has no fields
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StructBody
impl RefUnwindSafe for StructBody
impl !Send for StructBody
impl !Sync for StructBody
impl Unpin for StructBody
impl UnwindSafe for StructBody
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