pub enum PartDefBodyElement {
Show 23 variants
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
Comment(Node<CommentAnnotation>),
Annotation(Node<Annotation>),
Other(String),
AttributeDef(Node<AttributeDef>),
AttributeUsage(Node<AttributeUsage>),
RequirementUsage(Node<RequirementUsage>),
ItemUsage(Node<ItemUsage>),
Ref(Node<RefDecl>),
PortUsage(Node<PortUsage>),
PartUsage(Box<Node<PartUsage>>),
OccurrenceUsage(Box<Node<OccurrenceUsage>>),
InterfaceDef(Node<InterfaceDef>),
InterfaceUsage(Node<InterfaceUsage>),
Connect(Node<Connect>),
Connection(Node<ConnectionUsageMember>),
Perform(Node<Perform>),
Allocate(Node<Allocate>),
OpaqueMember(Node<OpaqueMemberDecl>),
ExhibitState(Node<ExhibitState>),
CalcUsage(Node<CalcUsage>),
EnumerationUsage(Node<EnumerationUsage>),
}Expand description
Element inside a part definition body.
Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
Comment(Node<CommentAnnotation>)
Annotation(Node<Annotation>)
Other(String)
AttributeDef(Node<AttributeDef>)
AttributeUsage(Node<AttributeUsage>)
RequirementUsage(Node<RequirementUsage>)
ItemUsage(Node<ItemUsage>)
Ref(Node<RefDecl>)
PortUsage(Node<PortUsage>)
PartUsage(Box<Node<PartUsage>>)
OccurrenceUsage(Box<Node<OccurrenceUsage>>)
InterfaceDef(Node<InterfaceDef>)
InterfaceUsage(Node<InterfaceUsage>)
Connect(Node<Connect>)
Connection(Node<ConnectionUsageMember>)
connection usage member inside a part definition body.
Perform(Node<Perform>)
Allocate(Node<Allocate>)
OpaqueMember(Node<OpaqueMemberDecl>)
ExhibitState(Node<ExhibitState>)
exhibit state name : type (; or body).
CalcUsage(Node<CalcUsage>)
Calculation usage (calc keyword) inside a part definition body.
EnumerationUsage(Node<EnumerationUsage>)
Enumeration usage (enum keyword) inside a part definition body.
Trait Implementations§
Source§impl Clone for PartDefBodyElement
impl Clone for PartDefBodyElement
Source§fn clone(&self) -> PartDefBodyElement
fn clone(&self) -> PartDefBodyElement
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 PartDefBodyElement
impl Debug for PartDefBodyElement
impl Eq for PartDefBodyElement
Source§impl PartialEq for PartDefBodyElement
impl PartialEq for PartDefBodyElement
Source§fn eq(&self, other: &PartDefBodyElement) -> bool
fn eq(&self, other: &PartDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PartDefBodyElement
Auto Trait Implementations§
impl Freeze for PartDefBodyElement
impl RefUnwindSafe for PartDefBodyElement
impl Send for PartDefBodyElement
impl Sync for PartDefBodyElement
impl Unpin for PartDefBodyElement
impl UnsafeUnpin for PartDefBodyElement
impl UnwindSafe for PartDefBodyElement
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