Struct horned_owl::model::SubObjectProperty [−][src]
pub struct SubObjectProperty { pub super_property: ObjectPropertyExpression, pub sub_property: ObjectProperty, }
A sub property relationship between two object properties.
The existance of the sub property relationship between two
individuals also implies the super property relationship
also. The super property can also be a property chain.
So, if s
is a super property of r
then a r b
implies a s b
.
See also: Property Hierarchies See also: Property Chains
Fields
super_property: ObjectPropertyExpression
sub_property: ObjectProperty
Methods
impl SubObjectProperty
[src]
impl SubObjectProperty
pub fn new(
super_property: ObjectPropertyExpression,
sub_property: ObjectProperty
) -> SubObjectProperty
[src]
pub fn new(
super_property: ObjectPropertyExpression,
sub_property: ObjectProperty
) -> SubObjectProperty
Trait Implementations
impl Clone for SubObjectProperty
[src]
impl Clone for SubObjectProperty
fn clone(&self) -> SubObjectProperty
[src]
fn clone(&self) -> SubObjectProperty
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 SubObjectProperty
[src]
impl Debug for SubObjectProperty
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 SubObjectProperty
[src]
impl Eq for SubObjectProperty
impl Hash for SubObjectProperty
[src]
impl Hash for SubObjectProperty
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 SubObjectProperty
[src]
impl Ord for SubObjectProperty
fn cmp(&self, other: &SubObjectProperty) -> Ordering
[src]
fn cmp(&self, other: &SubObjectProperty) -> 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 SubObjectProperty
[src]
impl PartialEq for SubObjectProperty
fn eq(&self, other: &SubObjectProperty) -> bool
[src]
fn eq(&self, other: &SubObjectProperty) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SubObjectProperty) -> bool
[src]
fn ne(&self, other: &SubObjectProperty) -> bool
This method tests for !=
.
impl PartialOrd for SubObjectProperty
[src]
impl PartialOrd for SubObjectProperty
fn partial_cmp(&self, other: &SubObjectProperty) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &SubObjectProperty) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &SubObjectProperty) -> bool
[src]
fn lt(&self, other: &SubObjectProperty) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &SubObjectProperty) -> bool
[src]
fn le(&self, other: &SubObjectProperty) -> 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: &SubObjectProperty) -> bool
[src]
fn gt(&self, other: &SubObjectProperty) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &SubObjectProperty) -> bool
[src]
fn ge(&self, other: &SubObjectProperty) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl From<SubObjectProperty> for Axiom
[src]
impl From<SubObjectProperty> for Axiom
fn from(ax: SubObjectProperty) -> Axiom
[src]
fn from(ax: SubObjectProperty) -> Axiom
Performs the conversion.
impl From<SubObjectProperty> for AnnotatedAxiom
[src]
impl From<SubObjectProperty> for AnnotatedAxiom
fn from(ax: SubObjectProperty) -> AnnotatedAxiom
[src]
fn from(ax: SubObjectProperty) -> AnnotatedAxiom
Performs the conversion.
impl Kinded for SubObjectProperty
[src]
impl Kinded for SubObjectProperty
Auto Trait Implementations
impl !Send for SubObjectProperty
impl !Send for SubObjectProperty
impl !Sync for SubObjectProperty
impl !Sync for SubObjectProperty