pub enum StructBody {
Const(Const),
Enum(Enum),
Field(StructField),
}Variants§
Trait Implementations§
Source§impl Debug for StructBody
impl Debug for StructBody
Source§impl PartialEq for StructBody
impl PartialEq for StructBody
Source§fn eq(&self, other: &StructBody) -> bool
fn eq(&self, other: &StructBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructBody
Auto Trait Implementations§
impl Freeze for StructBody
impl RefUnwindSafe for StructBody
impl Send for StructBody
impl Sync for StructBody
impl Unpin for StructBody
impl UnsafeUnpin 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