pub enum RequirementDefBodyElement {
Show 17 variants
Error(Node<ParseErrorNode>),
Other(String),
Annotation(Node<Annotation>),
MetadataAnnotation(Node<MetadataAnnotation>),
MetadataKeywordUsage(Node<MetadataKeywordUsage>),
Import(Node<Import>),
SubjectDecl(Node<SubjectDecl>),
RequirementActorDecl(Node<RequirementActorDecl>),
Stakeholder(Node<StakeholderMember>),
Purpose(Node<PurposeMember>),
AttributeDef(Node<AttributeDef>),
AttributeUsage(Node<AttributeUsage>),
VerifyRequirement(Node<VerifyRequirementMember>),
RequireConstraint(Node<RequireConstraint>),
Frame(Node<FrameMember>),
TextualRep(Node<TextualRepresentation>),
Doc(Node<DocComment>),
}Variants§
Error(Node<ParseErrorNode>)
Other(String)
Unmodeled requirement-body element captured as raw text (used for library parsing).
Annotation(Node<Annotation>)
MetadataAnnotation(Node<MetadataAnnotation>)
MetadataKeywordUsage(Node<MetadataKeywordUsage>)
Import(Node<Import>)
SubjectDecl(Node<SubjectDecl>)
RequirementActorDecl(Node<RequirementActorDecl>)
Stakeholder(Node<StakeholderMember>)
Purpose(Node<PurposeMember>)
AttributeDef(Node<AttributeDef>)
AttributeUsage(Node<AttributeUsage>)
VerifyRequirement(Node<VerifyRequirementMember>)
RequireConstraint(Node<RequireConstraint>)
Frame(Node<FrameMember>)
TextualRep(Node<TextualRepresentation>)
Doc(Node<DocComment>)
Trait Implementations§
Source§impl Clone for RequirementDefBodyElement
impl Clone for RequirementDefBodyElement
Source§fn clone(&self) -> RequirementDefBodyElement
fn clone(&self) -> RequirementDefBodyElement
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 RequirementDefBodyElement
impl Debug for RequirementDefBodyElement
impl Eq for RequirementDefBodyElement
Source§impl PartialEq for RequirementDefBodyElement
impl PartialEq for RequirementDefBodyElement
Source§fn eq(&self, other: &RequirementDefBodyElement) -> bool
fn eq(&self, other: &RequirementDefBodyElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequirementDefBodyElement
Auto Trait Implementations§
impl Freeze for RequirementDefBodyElement
impl RefUnwindSafe for RequirementDefBodyElement
impl Send for RequirementDefBodyElement
impl Sync for RequirementDefBodyElement
impl Unpin for RequirementDefBodyElement
impl UnsafeUnpin for RequirementDefBodyElement
impl UnwindSafe for RequirementDefBodyElement
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