pub struct RDFS_CLASS { /* private fields */ }
Methods from Deref<Target = IriS>§
pub fn as_str(&self) -> &str
Sourcepub fn as_named_node(&self) -> &NamedNode
pub fn as_named_node(&self) -> &NamedNode
Convert an IriS
to a NamedNode
pub fn join(&self, str: &str) -> Result<IriS, IriSError>
Sourcepub fn extend(&self, str: &str) -> Result<IriS, IriSError>
pub fn extend(&self, str: &str) -> Result<IriS, IriSError>
Extends the current IRI with a new string
This function checks for possible errors returning a Result
Sourcepub fn extend_unchecked(&self, str: &str) -> IriS
pub fn extend_unchecked(&self, str: &str) -> IriS
Extend an IRI with a new string without checking for possible syntactic errors
Sourcepub fn resolve(&self, other: IriS) -> Result<IriS, IriSError>
pub fn resolve(&self, other: IriS) -> Result<IriS, IriSError>
Resolve the IRI other
with this IRI
Sourcepub fn dereference(&self, base: &Option<IriS>) -> Result<String, IriSError>
pub fn dereference(&self, base: &Option<IriS>) -> Result<String, IriSError>
Dereference the IRI and get the content available from it
It handles also IRIs with the file
scheme as local file names. For example: file:///person.txt
Trait Implementations§
Source§impl Deref for RDFS_CLASS
impl Deref for RDFS_CLASS
impl LazyStatic for RDFS_CLASS
Auto Trait Implementations§
impl Freeze for RDFS_CLASS
impl RefUnwindSafe for RDFS_CLASS
impl Send for RDFS_CLASS
impl Sync for RDFS_CLASS
impl Unpin for RDFS_CLASS
impl UnwindSafe for RDFS_CLASS
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