Struct horned_owl::model::AnnotationAssertion
source · pub struct AnnotationAssertion<A> {
pub subject: AnnotationSubject<A>,
pub ann: Annotation<A>,
}
Expand description
An annotation assertion axiom
States that annotation
applies to the
annotation_subject
. Annotations refer to an IRI
rather
than the NamedOWLEntity
identified by that IRI
.
Fields§
§subject: AnnotationSubject<A>
§ann: Annotation<A>
Implementations§
source§impl<A: ForIRI> AnnotationAssertion<A>
impl<A: ForIRI> AnnotationAssertion<A>
pub fn new( subject: AnnotationSubject<A>, ann: Annotation<A> ) -> AnnotationAssertion<A>
Trait Implementations§
source§impl<A: ForIRI> AsFunctional<A> for AnnotationAssertion<A>
impl<A: ForIRI> AsFunctional<A> for AnnotationAssertion<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 AnnotationAssertion<A>
impl<A: Clone> Clone for AnnotationAssertion<A>
source§fn clone(&self) -> AnnotationAssertion<A>
fn clone(&self) -> AnnotationAssertion<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 AnnotationAssertion<A>
impl<A: Debug> Debug for AnnotationAssertion<A>
source§impl<A: ForIRI> From<AnnotationAssertion<A>> for AnnotatedComponent<A>
impl<A: ForIRI> From<AnnotationAssertion<A>> for AnnotatedComponent<A>
source§fn from(ax: AnnotationAssertion<A>) -> AnnotatedComponent<A>
fn from(ax: AnnotationAssertion<A>) -> AnnotatedComponent<A>
Converts to this type from the input type.
source§impl<A: ForIRI> From<AnnotationAssertion<A>> for Component<A>
impl<A: ForIRI> From<AnnotationAssertion<A>> for Component<A>
source§fn from(ax: AnnotationAssertion<A>) -> Component<A>
fn from(ax: AnnotationAssertion<A>) -> Component<A>
Converts to this type from the input type.
source§impl<A: Hash> Hash for AnnotationAssertion<A>
impl<A: Hash> Hash for AnnotationAssertion<A>
source§impl<A: ForIRI> HigherKinded for AnnotationAssertion<A>
impl<A: ForIRI> HigherKinded for AnnotationAssertion<A>
source§impl<A: ForIRI> Kinded for AnnotationAssertion<A>
impl<A: ForIRI> Kinded for AnnotationAssertion<A>
fn kind(&self) -> ComponentKind
source§impl<A: Ord> Ord for AnnotationAssertion<A>
impl<A: Ord> Ord for AnnotationAssertion<A>
source§fn cmp(&self, other: &AnnotationAssertion<A>) -> Ordering
fn cmp(&self, other: &AnnotationAssertion<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 AnnotationAssertion<A>
impl<A: PartialEq> PartialEq for AnnotationAssertion<A>
source§fn eq(&self, other: &AnnotationAssertion<A>) -> bool
fn eq(&self, other: &AnnotationAssertion<A>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<A: PartialOrd> PartialOrd for AnnotationAssertion<A>
impl<A: PartialOrd> PartialOrd for AnnotationAssertion<A>
source§fn partial_cmp(&self, other: &AnnotationAssertion<A>) -> Option<Ordering>
fn partial_cmp(&self, other: &AnnotationAssertion<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 AnnotationAssertion<A>
impl<A> StructuralPartialEq for AnnotationAssertion<A>
Auto Trait Implementations§
impl<A> Freeze for AnnotationAssertion<A>where
A: Freeze,
impl<A> RefUnwindSafe for AnnotationAssertion<A>where
A: RefUnwindSafe,
impl<A> Send for AnnotationAssertion<A>where
A: Send,
impl<A> Sync for AnnotationAssertion<A>where
A: Sync,
impl<A> Unpin for AnnotationAssertion<A>where
A: Unpin,
impl<A> UnwindSafe for AnnotationAssertion<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.