Enum json_ld_core::rdf::RdfDirection
source · pub enum RdfDirection {
I18nDatatype,
CompoundLiteral,
}
Variants
I18nDatatype
CompoundLiteral
Trait Implementations
sourceimpl Clone for RdfDirection
impl Clone for RdfDirection
sourcefn clone(&self) -> RdfDirection
fn clone(&self) -> RdfDirection
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 RdfDirection
impl Debug for RdfDirection
sourceimpl Hash for RdfDirection
impl Hash for RdfDirection
sourceimpl Ord for RdfDirection
impl Ord for RdfDirection
sourcefn cmp(&self, other: &RdfDirection) -> Ordering
fn cmp(&self, other: &RdfDirection) -> 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<RdfDirection> for RdfDirection
impl PartialEq<RdfDirection> for RdfDirection
sourcefn eq(&self, other: &RdfDirection) -> bool
fn eq(&self, other: &RdfDirection) -> bool
sourceimpl PartialOrd<RdfDirection> for RdfDirection
impl PartialOrd<RdfDirection> for RdfDirection
sourcefn partial_cmp(&self, other: &RdfDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &RdfDirection) -> 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 Copy for RdfDirection
impl Eq for RdfDirection
impl StructuralEq for RdfDirection
impl StructuralPartialEq for RdfDirection
Auto Trait Implementations
impl RefUnwindSafe for RdfDirection
impl Send for RdfDirection
impl Sync for RdfDirection
impl Unpin for RdfDirection
impl UnwindSafe for RdfDirection
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
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.