Struct horned_owl::model::DeclareClass [−][src]
pub struct DeclareClass(pub Class);
Declares that an IRI represents a Class in the Ontology
In OWL, entities must be declared to be of a particular type. While, OWL (and Horned-OWL) allows the use of Class in an ontology where there is no declaration, the end ontology will change profile to OWL Full. See also the OWL Primer
Trait Implementations
impl Clone for DeclareClass
[src]
impl Clone for DeclareClass
fn clone(&self) -> DeclareClass
[src]
fn clone(&self) -> DeclareClass
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for DeclareClass
[src]
impl Debug for DeclareClass
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for DeclareClass
[src]
impl Eq for DeclareClass
impl Hash for DeclareClass
[src]
impl Hash for DeclareClass
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for DeclareClass
[src]
impl Ord for DeclareClass
fn cmp(&self, other: &DeclareClass) -> Ordering
[src]
fn cmp(&self, other: &DeclareClass) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for DeclareClass
[src]
impl PartialEq for DeclareClass
fn eq(&self, other: &DeclareClass) -> bool
[src]
fn eq(&self, other: &DeclareClass) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeclareClass) -> bool
[src]
fn ne(&self, other: &DeclareClass) -> bool
This method tests for !=
.
impl PartialOrd for DeclareClass
[src]
impl PartialOrd for DeclareClass
fn partial_cmp(&self, other: &DeclareClass) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DeclareClass) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &DeclareClass) -> bool
[src]
fn lt(&self, other: &DeclareClass) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &DeclareClass) -> bool
[src]
fn le(&self, other: &DeclareClass) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &DeclareClass) -> bool
[src]
fn gt(&self, other: &DeclareClass) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &DeclareClass) -> bool
[src]
fn ge(&self, other: &DeclareClass) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl From<DeclareClass> for Axiom
[src]
impl From<DeclareClass> for Axiom
fn from(ax: DeclareClass) -> Axiom
[src]
fn from(ax: DeclareClass) -> Axiom
Performs the conversion.
impl From<DeclareClass> for AnnotatedAxiom
[src]
impl From<DeclareClass> for AnnotatedAxiom
fn from(ax: DeclareClass) -> AnnotatedAxiom
[src]
fn from(ax: DeclareClass) -> AnnotatedAxiom
Performs the conversion.
impl Kinded for DeclareClass
[src]
impl Kinded for DeclareClass
Auto Trait Implementations
impl !Send for DeclareClass
impl !Send for DeclareClass
impl !Sync for DeclareClass
impl !Sync for DeclareClass