Enum horned_owl::model::NamedEntity [−][src]
pub enum NamedEntity { Class(Class), ObjectProperty(ObjectProperty), AnnotationProperty(AnnotationProperty), }
An OWL entity that is directly resolvable to an IRI
All variants in this enum are named after the struct equivalent form. The individual structs for each variant provide us types for use elsewhere in the library.
Variants
Class(Class)
ObjectProperty(ObjectProperty)
AnnotationProperty(AnnotationProperty)
Trait Implementations
impl Debug for NamedEntity
[src]
impl Debug for NamedEntity
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 NamedEntity
[src]
impl Eq for NamedEntity
impl PartialEq for NamedEntity
[src]
impl PartialEq for NamedEntity
fn eq(&self, other: &NamedEntity) -> bool
[src]
fn eq(&self, other: &NamedEntity) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NamedEntity) -> bool
[src]
fn ne(&self, other: &NamedEntity) -> bool
This method tests for !=
.
impl Hash for NamedEntity
[src]
impl Hash for NamedEntity
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl From<Class> for NamedEntity
[src]
impl From<Class> for NamedEntity
fn from(n: Class) -> NamedEntity
[src]
fn from(n: Class) -> NamedEntity
Performs the conversion.
impl From<ObjectProperty> for NamedEntity
[src]
impl From<ObjectProperty> for NamedEntity
fn from(n: ObjectProperty) -> NamedEntity
[src]
fn from(n: ObjectProperty) -> NamedEntity
Performs the conversion.
impl From<AnnotationProperty> for NamedEntity
[src]
impl From<AnnotationProperty> for NamedEntity
fn from(n: AnnotationProperty) -> NamedEntity
[src]
fn from(n: AnnotationProperty) -> NamedEntity
Performs the conversion.
Auto Trait Implementations
impl !Send for NamedEntity
impl !Send for NamedEntity
impl !Sync for NamedEntity
impl !Sync for NamedEntity