Enum horned_owl::model::DataRange
source · pub enum DataRange<A> {
Datatype(Datatype<A>),
DataIntersectionOf(Vec<DataRange<A>>),
DataUnionOf(Vec<DataRange<A>>),
DataComplementOf(Box<DataRange<A>>),
DataOneOf(Vec<Literal<A>>),
DatatypeRestriction(Datatype<A>, Vec<FacetRestriction<A>>),
}
Expand description
An OWL2 Data Range
Variants§
Datatype(Datatype<A>)
DataIntersectionOf(Vec<DataRange<A>>)
DataUnionOf(Vec<DataRange<A>>)
DataComplementOf(Box<DataRange<A>>)
DataOneOf(Vec<Literal<A>>)
DatatypeRestriction(Datatype<A>, Vec<FacetRestriction<A>>)
Trait Implementations§
source§impl<A: ForIRI> AsFunctional<A> for DataRange<A>
impl<A: ForIRI> AsFunctional<A> for DataRange<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: Ord> Ord for DataRange<A>
impl<A: Ord> Ord for DataRange<A>
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 DataRange<A>
impl<A: PartialEq> PartialEq for DataRange<A>
source§impl<A: PartialOrd> PartialOrd for DataRange<A>
impl<A: PartialOrd> PartialOrd for DataRange<A>
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 DataRange<A>
impl<A> StructuralPartialEq for DataRange<A>
Auto Trait Implementations§
impl<A> Freeze for DataRange<A>where
A: Freeze,
impl<A> RefUnwindSafe for DataRange<A>where
A: RefUnwindSafe,
impl<A> Send for DataRange<A>where
A: Send,
impl<A> Sync for DataRange<A>where
A: Sync,
impl<A> Unpin for DataRange<A>where
A: Unpin,
impl<A> UnwindSafe for DataRange<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.