Struct sophia_api::term::simple_iri::SimpleIri [−][src]
pub struct SimpleIri<'a> { /* fields omitted */ }
Expand description
See module documentation.
Implementations
Build a SimpleIri, checking that it is a valid IRI reference.
Build a SimpleIri from its raw components.
Pre-condition
It is the user’s responsibility to check that ns
and suffix
concatenate to a valid IRI.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Return the “value” of this term, possibly split in two substrings. The second part might only be non-empty if this term is an IRI reference. Read more
This method ensures that all implementations of TTerm
can be turned into a trait object. Read more
Return the “value” of this term, which depends on its kind: Read more
Return the datatype IRI of this term if it is a literal. Read more
Return the language tag of this term if it is a language-tagged literal. Read more
All terms are absolute, except for: Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for SimpleIri<'a>
impl<'a> UnwindSafe for SimpleIri<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Try to copy this IRI into another type.