Struct sdml_core::model::annotations::AnnotationProperty
source · pub struct AnnotationProperty { /* private fields */ }
Expand description
Corresponds to the grammar rule annotation_property
.
Implementations§
Trait Implementations§
source§impl Clone for AnnotationProperty
impl Clone for AnnotationProperty
source§fn clone(&self) -> AnnotationProperty
fn clone(&self) -> AnnotationProperty
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 Debug for AnnotationProperty
impl Debug for AnnotationProperty
source§impl<'de> Deserialize<'de> for AnnotationProperty
impl<'de> Deserialize<'de> for AnnotationProperty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AnnotationProperty> for Annotation
impl From<AnnotationProperty> for Annotation
source§fn from(value: AnnotationProperty) -> Self
fn from(value: AnnotationProperty) -> Self
Converts to this type from the input type.
source§impl HasNameReference for AnnotationProperty
impl HasNameReference for AnnotationProperty
fn name_reference(&self) -> &IdentifierReference
fn set_name_reference(&mut self, name: IdentifierReference)
source§impl HasSourceSpan for AnnotationProperty
impl HasSourceSpan for AnnotationProperty
fn with_source_span(self, span: Span) -> Self
fn source_span(&self) -> Option<&Span>
fn set_source_span(&mut self, span: Span)
fn unset_source_span(&mut self)
fn has_source_span(&self) -> bool
source§impl Serialize for AnnotationProperty
impl Serialize for AnnotationProperty
source§impl Validate for AnnotationProperty
impl Validate for AnnotationProperty
Auto Trait Implementations§
impl RefUnwindSafe for AnnotationProperty
impl Send for AnnotationProperty
impl Sync for AnnotationProperty
impl Unpin for AnnotationProperty
impl UnwindSafe for AnnotationProperty
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