Struct horned_owl::model::NamedIndividual
source · pub struct NamedIndividual(pub IRI);
Expand description
An OWL NamedIndividual is an individual in the ontology which is specifically known about and can be identified by name.
Tuple Fields
0: IRI
Implementations
Trait Implementations
sourceimpl Clone for NamedIndividual
impl Clone for NamedIndividual
sourcefn clone(&self) -> NamedIndividual
fn clone(&self) -> NamedIndividual
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NamedIndividual
impl Debug for NamedIndividual
sourceimpl<'a> From<&'a IRI> for NamedIndividual
impl<'a> From<&'a IRI> for NamedIndividual
sourcefn from(iri: &IRI) -> NamedIndividual
fn from(iri: &IRI) -> NamedIndividual
Converts to this type from the input type.
sourceimpl<'a> From<&'a NamedIndividual> for IRI
impl<'a> From<&'a NamedIndividual> for IRI
sourcefn from(n: &NamedIndividual) -> IRI
fn from(n: &NamedIndividual) -> IRI
Converts to this type from the input type.
sourceimpl<'a> From<&'a NamedIndividual> for String
impl<'a> From<&'a NamedIndividual> for String
sourcefn from(n: &NamedIndividual) -> String
fn from(n: &NamedIndividual) -> String
Converts to this type from the input type.
sourceimpl From<IRI> for NamedIndividual
impl From<IRI> for NamedIndividual
sourcefn from(iri: IRI) -> NamedIndividual
fn from(iri: IRI) -> NamedIndividual
Converts to this type from the input type.
sourceimpl From<NamedIndividual> for IRI
impl From<NamedIndividual> for IRI
sourcefn from(n: NamedIndividual) -> IRI
fn from(n: NamedIndividual) -> IRI
Converts to this type from the input type.
sourceimpl From<NamedIndividual> for NamedEntity
impl From<NamedIndividual> for NamedEntity
sourcefn from(n: NamedIndividual) -> NamedEntity
fn from(n: NamedIndividual) -> NamedEntity
Converts to this type from the input type.
sourceimpl From<NamedIndividual> for String
impl From<NamedIndividual> for String
sourcefn from(n: NamedIndividual) -> String
fn from(n: NamedIndividual) -> String
Converts to this type from the input type.
sourceimpl Hash for NamedIndividual
impl Hash for NamedIndividual
sourceimpl Ord for NamedIndividual
impl Ord for NamedIndividual
sourcefn cmp(&self, other: &NamedIndividual) -> Ordering
fn cmp(&self, other: &NamedIndividual) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NamedIndividual> for NamedIndividual
impl PartialEq<NamedIndividual> for NamedIndividual
sourcefn eq(&self, other: &NamedIndividual) -> bool
fn eq(&self, other: &NamedIndividual) -> bool
sourceimpl PartialOrd<NamedIndividual> for NamedIndividual
impl PartialOrd<NamedIndividual> for NamedIndividual
sourcefn partial_cmp(&self, other: &NamedIndividual) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedIndividual) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NamedIndividual
impl StructuralEq for NamedIndividual
impl StructuralPartialEq for NamedIndividual
Auto Trait Implementations
impl RefUnwindSafe for NamedIndividual
impl !Send for NamedIndividual
impl !Sync for NamedIndividual
impl Unpin for NamedIndividual
impl UnwindSafe for NamedIndividual
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more