Struct sdml_core::model::definitions::RdfDefBody
source · pub struct RdfDefBody { /* private fields */ }
Expand description
Corresponds to the grammar rule rdf_class_def
and rdf_property_def
.
Implementations§
source§impl RdfDefBody
impl RdfDefBody
Trait Implementations§
source§impl Clone for RdfDefBody
impl Clone for RdfDefBody
source§fn clone(&self) -> RdfDefBody
fn clone(&self) -> RdfDefBody
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 RdfDefBody
impl Debug for RdfDefBody
source§impl<'de> Deserialize<'de> for RdfDefBody
impl<'de> Deserialize<'de> for RdfDefBody
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 HasBody<AnnotationOnlyBody> for RdfDefBody
impl HasBody<AnnotationOnlyBody> for RdfDefBody
source§fn body(&self) -> &AnnotationOnlyBody
fn body(&self) -> &AnnotationOnlyBody
Get the body of the enclosing type.
source§fn set_body(&mut self, body: AnnotationOnlyBody)
fn set_body(&mut self, body: AnnotationOnlyBody)
Set the body of the enclosing type.
source§impl HasName for RdfDefBody
impl HasName for RdfDefBody
source§fn name(&self) -> &Identifier
fn name(&self) -> &Identifier
Get the name of the enclosing type.
source§fn set_name(&mut self, name: Identifier)
fn set_name(&mut self, name: Identifier)
Set the name of the enclosing type.
source§impl HasSourceSpan for RdfDefBody
impl HasSourceSpan for RdfDefBody
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 References for RdfDefBody
impl References for RdfDefBody
fn referenced_annotations<'a>( &'a self, names: &mut HashSet<&'a IdentifierReference> )
fn referenced_types<'a>(&'a self, names: &mut HashSet<&'a IdentifierReference>)
Auto Trait Implementations§
impl RefUnwindSafe for RdfDefBody
impl Send for RdfDefBody
impl Sync for RdfDefBody
impl Unpin for RdfDefBody
impl UnwindSafe for RdfDefBody
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