pub struct IslSimpleAnnotationsConstraint {
pub is_closed: bool,
pub is_ordered: bool,
pub is_required: bool,
pub annotations: Vec<Annotation>,
}
Expand description
Represents the simple syntax for annotations constraint
Grammar: <ANNOTATIONS> ::= annotations: <ANNOTATIONS_MODIFIER>... [ <SYMBOL>... ]
<ANNOTATIONS_MODIFIER> ::= required::
| closed::
Fields§
§is_closed: bool
§is_ordered: bool
§is_required: bool
§annotations: Vec<Annotation>
Implementations§
Trait Implementations§
source§impl Clone for IslSimpleAnnotationsConstraint
impl Clone for IslSimpleAnnotationsConstraint
source§fn clone(&self) -> IslSimpleAnnotationsConstraint
fn clone(&self) -> IslSimpleAnnotationsConstraint
Returns a copy 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 PartialEq for IslSimpleAnnotationsConstraint
impl PartialEq for IslSimpleAnnotationsConstraint
source§fn eq(&self, other: &IslSimpleAnnotationsConstraint) -> bool
fn eq(&self, other: &IslSimpleAnnotationsConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IslSimpleAnnotationsConstraint
impl StructuralPartialEq for IslSimpleAnnotationsConstraint
Auto Trait Implementations§
impl RefUnwindSafe for IslSimpleAnnotationsConstraint
impl Send for IslSimpleAnnotationsConstraint
impl Sync for IslSimpleAnnotationsConstraint
impl Unpin for IslSimpleAnnotationsConstraint
impl UnwindSafe for IslSimpleAnnotationsConstraint
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