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 duplicate 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
Source§fn name_reference(&self) -> &IdentifierReference
fn name_reference(&self) -> &IdentifierReference
Get the name reference for the enclosing type.
Source§fn set_name_reference(&mut self, name: IdentifierReference)
fn set_name_reference(&mut self, name: IdentifierReference)
Set the name reference for the enclosing type.
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
fn validate( &self, _top: &Module, _cache: &impl ModuleStore, _: &impl ModuleLoader, _: bool, )
Auto Trait Implementations§
impl Freeze for AnnotationProperty
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