pub struct LangString<'g, G>where
    G: Graph<'g> + 'g,{ /* private fields */ }Expand description
rdf:langString The datatype of language-tagged string values
Implementations§
Trait Implementations§
Source§impl<'g, G> Clone for LangString<'g, G>where
    G: Graph<'g>,
 
impl<'g, G> Clone for LangString<'g, G>where
    G: Graph<'g>,
Source§impl<'g, G> Comment<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> Comment<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#comment
Source§impl<'g, G> IsDefinedBy<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> IsDefinedBy<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#isDefinedBy
Source§fn is_defined_by<G>(&self) -> ObjectIter<'g, Resource<'g, G>> ⓘ
 
fn is_defined_by<G>(&self) -> ObjectIter<'g, Resource<'g, G>> ⓘ
rdfs:isDefinedBy
The defininition of the subject resource.
http://www.w3.org/2000/01/rdf-schema#isDefinedBy
Source§impl<'g, G> Label<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> Label<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#label
Source§impl<'g, G> Member<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> Member<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#member
Source§impl<'g, G> Ord for LangString<'g, G>where
    G: Graph<'g>,
 
impl<'g, G> Ord for LangString<'g, G>where
    G: Graph<'g>,
Source§impl<'g, G> PartialEq for LangString<'g, G>where
    G: Graph<'g>,
 
impl<'g, G> PartialEq for LangString<'g, G>where
    G: Graph<'g>,
Source§impl<'g, G> PartialOrd for LangString<'g, G>where
    G: Graph<'g>,
 
impl<'g, G> PartialOrd for LangString<'g, G>where
    G: Graph<'g>,
Source§impl<'g, G> ResourceBase<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> ResourceBase<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn new(
    resource: Resource<'g, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::BlankNodePtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::LiteralPtr>,
    adapter: &'g OntologyAdapter<'g, Self::Graph>,
) -> Self
 
fn new( resource: Resource<'g, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::BlankNodePtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::LiteralPtr>, adapter: &'g OntologyAdapter<'g, Self::Graph>, ) -> Self
Wrap a 
Resource with an ontology class.
And link a ResourceBaseSource§fn iter(adapter: &'g OntologyAdapter<'g, Self::Graph>) -> SubjectIter<'g, Self> ⓘ
 
fn iter(adapter: &'g OntologyAdapter<'g, Self::Graph>) -> SubjectIter<'g, Self> ⓘ
Iterate over all instances of this class
Source§fn this(
    &self,
) -> &Resource<'g, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::BlankNodePtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::LiteralPtr>
 
fn this( &self, ) -> &Resource<'g, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::BlankNodePtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr, <<Self as ResourceBase<'g>>::Graph as Graph<'g>>::LiteralPtr>
The Resource that underlies this wrapper.
Source§fn adapter(&self) -> &'g OntologyAdapter<'g, Self::Graph>
 
fn adapter(&self) -> &'g OntologyAdapter<'g, Self::Graph>
The adapter that wraps the graph.
Source§fn iter_objects<O>(
    &self,
    predicate: Option<&<<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr>,
) -> ObjectIter<'g, O> ⓘwhere
    O: ResourceBase<'g, Graph = Self::Graph>,
    Self: 'g,
 
fn iter_objects<O>(
    &self,
    predicate: Option<&<<Self as ResourceBase<'g>>::Graph as Graph<'g>>::IRIPtr>,
) -> ObjectIter<'g, O> ⓘwhere
    O: ResourceBase<'g, Graph = Self::Graph>,
    Self: 'g,
iterate over all the objects for this subject and the given predicate
Source§impl<'g, G> SeeAlso<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> SeeAlso<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/2000/01/rdf-schema#seeAlso
Source§impl<'g, G> Type<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> Type<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
Source§impl<'g, G> Value<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
 
impl<'g, G> Value<'g> for LangString<'g, G>where
    G: Graph<'g> + 'g,
Source§fn property_iri() -> &'static str
 
fn property_iri() -> &'static str
http://www.w3.org/1999/02/22-rdf-syntax-ns#value
impl<'g, G> Eq for LangString<'g, G>where
    G: Graph<'g>,
Auto Trait Implementations§
impl<'g, G> Freeze for LangString<'g, G>where
    <G as Graph<'g>>::BlankNodePtr: Freeze,
    <G as Graph<'g>>::IRIPtr: Freeze,
    <G as Graph<'g>>::LiteralPtr: Freeze,
impl<'g, G> RefUnwindSafe for LangString<'g, G>where
    <G as Graph<'g>>::BlankNodePtr: RefUnwindSafe,
    <G as Graph<'g>>::IRIPtr: RefUnwindSafe,
    <G as Graph<'g>>::LiteralPtr: RefUnwindSafe,
    G: RefUnwindSafe,
impl<'g, G> Send for LangString<'g, G>
impl<'g, G> Sync for LangString<'g, G>where
    <G as Graph<'g>>::BlankNodePtr: Sync,
    <G as Graph<'g>>::IRIPtr: Sync,
    <G as Graph<'g>>::LiteralPtr: Sync,
    G: Sync,
impl<'g, G> Unpin for LangString<'g, G>where
    <G as Graph<'g>>::BlankNodePtr: Unpin,
    <G as Graph<'g>>::IRIPtr: Unpin,
    <G as Graph<'g>>::LiteralPtr: Unpin,
impl<'g, G> UnwindSafe for LangString<'g, G>where
    <G as Graph<'g>>::BlankNodePtr: UnwindSafe,
    <G as Graph<'g>>::IRIPtr: UnwindSafe + RefUnwindSafe,
    <G as Graph<'g>>::LiteralPtr: UnwindSafe,
    G: RefUnwindSafe,
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