pub struct EntityBody {
pub fields: Vec<FieldDecl>,
}Expand description
Typed body of an entity declaration: a sequence of fields.
Fields§
§fields: Vec<FieldDecl>Trait Implementations§
Source§impl Clone for EntityBody
impl Clone for EntityBody
Source§fn clone(&self) -> EntityBody
fn clone(&self) -> EntityBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityBody
impl Debug for EntityBody
Source§impl From<&EntityBody> for EntityBody
impl From<&EntityBody> for EntityBody
Source§fn from(b: &EntityBody) -> Self
fn from(b: &EntityBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EntityBody
impl PartialEq for EntityBody
impl StructuralPartialEq for EntityBody
Auto Trait Implementations§
impl Freeze for EntityBody
impl RefUnwindSafe for EntityBody
impl Send for EntityBody
impl Sync for EntityBody
impl Unpin for EntityBody
impl UnsafeUnpin for EntityBody
impl UnwindSafe for EntityBody
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