Struct horned_owl::model::NamedIndividual
source · pub struct NamedIndividual<A>(pub IRI<A>);
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<A>
Implementations§
Trait Implementations§
source§impl<A: ForIRI> AsFunctional<A> for NamedIndividual<A>
impl<A: ForIRI> AsFunctional<A> for NamedIndividual<A>
source§fn as_functional(&self) -> Functional<'_, Self, A>
fn as_functional(&self) -> Functional<'_, Self, A>
Get a handle for displaying the element in functional syntax. Read more
source§fn as_functional_with_prefixes<'t>(
&'t self,
prefix: &'t PrefixMapping
) -> Functional<'t, Self, A>
fn as_functional_with_prefixes<'t>( &'t self, prefix: &'t PrefixMapping ) -> Functional<'t, Self, A>
Get a handle for displaying the element, using the given context. Read more
source§impl<A: Clone> Clone for NamedIndividual<A>
impl<A: Clone> Clone for NamedIndividual<A>
source§fn clone(&self) -> NamedIndividual<A>
fn clone(&self) -> NamedIndividual<A>
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<A: Debug> Debug for NamedIndividual<A>
impl<A: Debug> Debug for NamedIndividual<A>
source§impl<'a, A: ForIRI> From<&'a IRI<A>> for NamedIndividual<A>
impl<'a, A: ForIRI> From<&'a IRI<A>> for NamedIndividual<A>
source§fn from(iri: &IRI<A>) -> NamedIndividual<A>
fn from(iri: &IRI<A>) -> NamedIndividual<A>
Converts to this type from the input type.
source§impl<'a, A: ForIRI> From<&'a NamedIndividual<A>> for IRI<A>
impl<'a, A: ForIRI> From<&'a NamedIndividual<A>> for IRI<A>
source§fn from(n: &NamedIndividual<A>) -> IRI<A>
fn from(n: &NamedIndividual<A>) -> IRI<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<&NamedIndividual<A>> for PNamedNode<A>
impl<A: ForIRI> From<&NamedIndividual<A>> for PNamedNode<A>
source§fn from(ni: &NamedIndividual<A>) -> Self
fn from(ni: &NamedIndividual<A>) -> Self
Converts to this type from the input type.
source§impl<A: ForIRI> From<&NamedIndividual<A>> for PSubject<A>
impl<A: ForIRI> From<&NamedIndividual<A>> for PSubject<A>
source§fn from(ni: &NamedIndividual<A>) -> Self
fn from(ni: &NamedIndividual<A>) -> Self
Converts to this type from the input type.
source§impl<A: ForIRI> From<&NamedIndividual<A>> for PTerm<A>
impl<A: ForIRI> From<&NamedIndividual<A>> for PTerm<A>
source§fn from(ni: &NamedIndividual<A>) -> Self
fn from(ni: &NamedIndividual<A>) -> Self
Converts to this type from the input type.
source§impl<'a, A: ForIRI> From<&'a NamedIndividual<A>> for String
impl<'a, A: ForIRI> From<&'a NamedIndividual<A>> for String
source§fn from(n: &NamedIndividual<A>) -> String
fn from(n: &NamedIndividual<A>) -> String
Converts to this type from the input type.
source§impl<A: ForIRI> From<IRI<A>> for NamedIndividual<A>
impl<A: ForIRI> From<IRI<A>> for NamedIndividual<A>
source§fn from(iri: IRI<A>) -> NamedIndividual<A>
fn from(iri: IRI<A>) -> NamedIndividual<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for IArgument<A>
impl<A: ForIRI> From<NamedIndividual<A>> for IArgument<A>
source§fn from(i: NamedIndividual<A>) -> IArgument<A>
fn from(i: NamedIndividual<A>) -> IArgument<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for IRI<A>
impl<A: ForIRI> From<NamedIndividual<A>> for IRI<A>
source§fn from(n: NamedIndividual<A>) -> IRI<A>
fn from(n: NamedIndividual<A>) -> IRI<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for Individual<A>
impl<A: ForIRI> From<NamedIndividual<A>> for Individual<A>
source§fn from(ni: NamedIndividual<A>) -> Individual<A>
fn from(ni: NamedIndividual<A>) -> Individual<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for NamedEntity<A>
impl<A: ForIRI> From<NamedIndividual<A>> for NamedEntity<A>
source§fn from(n: NamedIndividual<A>) -> NamedEntity<A>
fn from(n: NamedIndividual<A>) -> NamedEntity<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for NamedEntityKind
impl<A: ForIRI> From<NamedIndividual<A>> for NamedEntityKind
source§fn from(_n: NamedIndividual<A>) -> NamedEntityKind
fn from(_n: NamedIndividual<A>) -> NamedEntityKind
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for NamedOWLEntity<A>
impl<A: ForIRI> From<NamedIndividual<A>> for NamedOWLEntity<A>
source§fn from(n: NamedIndividual<A>) -> NamedOWLEntity<A>
fn from(n: NamedIndividual<A>) -> NamedOWLEntity<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for NamedOWLEntityKind
impl<A: ForIRI> From<NamedIndividual<A>> for NamedOWLEntityKind
source§fn from(_n: NamedIndividual<A>) -> NamedOWLEntityKind
fn from(_n: NamedIndividual<A>) -> NamedOWLEntityKind
Converts to this type from the input type.
source§impl<A: ForIRI> From<NamedIndividual<A>> for String
impl<A: ForIRI> From<NamedIndividual<A>> for String
source§fn from(n: NamedIndividual<A>) -> String
fn from(n: NamedIndividual<A>) -> String
Converts to this type from the input type.
source§impl<A: Hash> Hash for NamedIndividual<A>
impl<A: Hash> Hash for NamedIndividual<A>
source§impl<A: Ord> Ord for NamedIndividual<A>
impl<A: Ord> Ord for NamedIndividual<A>
source§fn cmp(&self, other: &NamedIndividual<A>) -> Ordering
fn cmp(&self, other: &NamedIndividual<A>) -> Ordering
1.21.0 · source§fn 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
source§impl<A: PartialEq> PartialEq for NamedIndividual<A>
impl<A: PartialEq> PartialEq for NamedIndividual<A>
source§fn eq(&self, other: &NamedIndividual<A>) -> bool
fn eq(&self, other: &NamedIndividual<A>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<A: PartialOrd> PartialOrd for NamedIndividual<A>
impl<A: PartialOrd> PartialOrd for NamedIndividual<A>
source§fn partial_cmp(&self, other: &NamedIndividual<A>) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedIndividual<A>) -> Option<Ordering>
1.0.0 · source§fn 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<A: Eq> Eq for NamedIndividual<A>
impl<A> StructuralPartialEq for NamedIndividual<A>
Auto Trait Implementations§
impl<A> Freeze for NamedIndividual<A>where
A: Freeze,
impl<A> RefUnwindSafe for NamedIndividual<A>where
A: RefUnwindSafe,
impl<A> Send for NamedIndividual<A>where
A: Send,
impl<A> Sync for NamedIndividual<A>where
A: Sync,
impl<A> Unpin for NamedIndividual<A>where
A: Unpin,
impl<A> UnwindSafe for NamedIndividual<A>where
A: UnwindSafe,
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.