Enum horned_owl::model::Axiom[][src]

pub enum Axiom {
    OntologyAnnotation(OntologyAnnotation),
    DeclareClass(DeclareClass),
    DeclareObjectProperty(DeclareObjectProperty),
    DeclareAnnotationProperty(DeclareAnnotationProperty),
    SubClass(SubClass),
    EquivalentClass(EquivalentClass),
    DisjointClass(DisjointClass),
    SubObjectProperty(SubObjectProperty),
    InverseObjectProperty(InverseObjectProperty),
    TransitiveObjectProperty(TransitiveObjectProperty),
    AssertAnnotation(AssertAnnotation),
    SubAnnotationProperty(SubAnnotationProperty),
}

An axiom

This enum has variants representing the various kinds of Axiom that can be found in an OWL Ontology. An OWL axiom maps to three different entities in Horned-OWL. First is a struct (for example, SubClass) which contains the data which defines the axiom (i.e. super and sub class for SubClass). Second, is a variant of the AxiomKind, which is used to identify all instances of a particular kind of axiom (i.e. any SubClass axiom will return an instance of AxiomKind::SubClass). Finally, we have a variant of this enum, which contains one of the structs (i.e. Axiom::SubClass(SubClass)), which is used as a union type for all structs. The struct and enum variants all share identical names.

Variants

Trait Implementations

impl From<Axiom> for AnnotatedAxiom
[src]

Performs the conversion.

impl Clone for Axiom
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Axiom
[src]

Formats the value using the given formatter. Read more

impl Eq for Axiom
[src]

impl Hash for Axiom
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for Axiom
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq for Axiom
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Axiom
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Kinded for Axiom
[src]

impl From<OntologyAnnotation> for Axiom
[src]

Performs the conversion.

impl From<DeclareClass> for Axiom
[src]

Performs the conversion.

impl From<DeclareObjectProperty> for Axiom
[src]

Performs the conversion.

impl From<DeclareAnnotationProperty> for Axiom
[src]

Performs the conversion.

impl From<SubClass> for Axiom
[src]

Performs the conversion.

impl From<EquivalentClass> for Axiom
[src]

Performs the conversion.

impl From<DisjointClass> for Axiom
[src]

Performs the conversion.

impl From<SubObjectProperty> for Axiom
[src]

Performs the conversion.

impl From<InverseObjectProperty> for Axiom
[src]

Performs the conversion.

impl From<TransitiveObjectProperty> for Axiom
[src]

Performs the conversion.

impl From<AssertAnnotation> for Axiom
[src]

Performs the conversion.

impl From<SubAnnotationProperty> for Axiom
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Axiom

impl !Sync for Axiom