pub struct EntityDeclaration {
pub name: Name,
pub entity_def: EntityDefinition,
}
Fields§
§name: Name
§entity_def: EntityDefinition
Implementations§
Source§impl EntityDeclaration
impl EntityDeclaration
pub fn find_name(&self, name: Name) -> Option<&GeneralEntityDeclaration>
pub fn get_name(&self) -> &Name
pub fn get_entity_def(&self) -> &EntityDefinition
Trait Implementations§
Source§impl Clone for EntityDeclaration
impl Clone for EntityDeclaration
Source§fn clone(&self) -> EntityDeclaration
fn clone(&self) -> EntityDeclaration
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityDeclaration
impl Debug for EntityDeclaration
Source§impl PartialEq for EntityDeclaration
impl PartialEq for EntityDeclaration
impl Eq for EntityDeclaration
impl StructuralPartialEq for EntityDeclaration
Auto Trait Implementations§
impl Freeze for EntityDeclaration
impl RefUnwindSafe for EntityDeclaration
impl Send for EntityDeclaration
impl Sync for EntityDeclaration
impl Unpin for EntityDeclaration
impl UnwindSafe for EntityDeclaration
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