Struct horned_owl::model::DeclareDatatype
source · pub struct DeclareDatatype(pub Datatype);
Expand description
Declare that an IRI represents a Datatype in the ontology.
Tuple Fields
0: Datatype
Trait Implementations
sourceimpl Clone for DeclareDatatype
impl Clone for DeclareDatatype
sourcefn clone(&self) -> DeclareDatatype
fn clone(&self) -> DeclareDatatype
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DeclareDatatype
impl Debug for DeclareDatatype
sourceimpl From<DeclareDatatype> for AnnotatedAxiom
impl From<DeclareDatatype> for AnnotatedAxiom
sourcefn from(ax: DeclareDatatype) -> AnnotatedAxiom
fn from(ax: DeclareDatatype) -> AnnotatedAxiom
Converts to this type from the input type.
sourceimpl From<DeclareDatatype> for Axiom
impl From<DeclareDatatype> for Axiom
sourcefn from(ax: DeclareDatatype) -> Axiom
fn from(ax: DeclareDatatype) -> Axiom
Converts to this type from the input type.
sourceimpl Hash for DeclareDatatype
impl Hash for DeclareDatatype
sourceimpl Ord for DeclareDatatype
impl Ord for DeclareDatatype
sourcefn cmp(&self, other: &DeclareDatatype) -> Ordering
fn cmp(&self, other: &DeclareDatatype) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DeclareDatatype> for DeclareDatatype
impl PartialEq<DeclareDatatype> for DeclareDatatype
sourcefn eq(&self, other: &DeclareDatatype) -> bool
fn eq(&self, other: &DeclareDatatype) -> bool
sourceimpl PartialOrd<DeclareDatatype> for DeclareDatatype
impl PartialOrd<DeclareDatatype> for DeclareDatatype
sourcefn partial_cmp(&self, other: &DeclareDatatype) -> Option<Ordering>
fn partial_cmp(&self, other: &DeclareDatatype) -> Option<Ordering>
1.0.0 · sourcefn 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 Eq for DeclareDatatype
impl StructuralEq for DeclareDatatype
impl StructuralPartialEq for DeclareDatatype
Auto Trait Implementations
impl RefUnwindSafe for DeclareDatatype
impl !Send for DeclareDatatype
impl !Sync for DeclareDatatype
impl Unpin for DeclareDatatype
impl UnwindSafe for DeclareDatatype
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more