pub enum PartUsageBodyElement {
Show 18 variants
Error(Node<ParseErrorNode>),
Doc(Node<DocComment>),
Annotation(Node<Annotation>),
AttributeUsage(Node<AttributeUsage>),
EnumerationUsage(Node<EnumerationUsage>),
PartUsage(Box<Node<PartUsage>>),
OccurrenceUsage(Box<Node<OccurrenceUsage>>),
PortUsage(Node<PortUsage>),
Bind(Node<Bind>),
Ref(Node<RefDecl>),
InterfaceUsage(Node<InterfaceUsage>),
Connect(Node<Connect>),
Perform(Node<Perform>),
Allocate(Node<Allocate>),
Satisfy(Node<Satisfy>),
StateUsage(Node<StateUsage>),
MetadataAnnotation(Node<MetadataAnnotation>),
MetadataKeywordUsage(Node<MetadataKeywordUsage>),
}Expand description
Element inside a part usage body.
Variants§
Error(Node<ParseErrorNode>)
Doc(Node<DocComment>)
Annotation(Node<Annotation>)
AttributeUsage(Node<AttributeUsage>)
EnumerationUsage(Node<EnumerationUsage>)
PartUsage(Box<Node<PartUsage>>)
OccurrenceUsage(Box<Node<OccurrenceUsage>>)
PortUsage(Node<PortUsage>)
Bind(Node<Bind>)
Ref(Node<RefDecl>)
ref name : type body (reference binding in part usage).
InterfaceUsage(Node<InterfaceUsage>)
Connect(Node<Connect>)
Perform(Node<Perform>)
Allocate(Node<Allocate>)
Satisfy(Node<Satisfy>)
StateUsage(Node<StateUsage>)
MetadataAnnotation(Node<MetadataAnnotation>)
MetadataKeywordUsage(Node<MetadataKeywordUsage>)
Trait Implementations§
Source§impl Clone for PartUsageBodyElement
impl Clone for PartUsageBodyElement
Source§fn clone(&self) -> PartUsageBodyElement
fn clone(&self) -> PartUsageBodyElement
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 PartUsageBodyElement
impl Debug for PartUsageBodyElement
impl Eq for PartUsageBodyElement
Source§impl PartialEq for PartUsageBodyElement
impl PartialEq for PartUsageBodyElement
Source§fn eq(&self, other: &PartUsageBodyElement) -> bool
fn eq(&self, other: &PartUsageBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PartUsageBodyElement
Auto Trait Implementations§
impl Freeze for PartUsageBodyElement
impl RefUnwindSafe for PartUsageBodyElement
impl Send for PartUsageBodyElement
impl Sync for PartUsageBodyElement
impl Unpin for PartUsageBodyElement
impl UnsafeUnpin for PartUsageBodyElement
impl UnwindSafe for PartUsageBodyElement
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