pub enum RdfDirection {
I18nDatatype,
CompoundLiteral,
}Expand description
Direction representation method.
Used by the RDF serializer to decide how to encode
Directions.
Variants§
I18nDatatype
Encode direction in the string value type IRI using the
https://www.w3.org/ns/i18n# prefix.
CompoundLiteral
Encode the direction using a compound literal value.
Trait Implementations§
Source§impl Clone for RdfDirection
impl Clone for RdfDirection
impl Copy for RdfDirection
Source§impl Debug for RdfDirection
impl Debug for RdfDirection
impl Eq for RdfDirection
Source§impl FromStr for RdfDirection
impl FromStr for RdfDirection
Source§impl Hash for RdfDirection
impl Hash for RdfDirection
Source§impl Ord for RdfDirection
impl Ord for RdfDirection
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn 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
Source§impl PartialEq for RdfDirection
impl PartialEq for RdfDirection
Source§impl PartialOrd for RdfDirection
impl PartialOrd for RdfDirection
impl StructuralPartialEq for RdfDirection
Auto Trait Implementations§
impl Freeze for RdfDirection
impl RefUnwindSafe for RdfDirection
impl Send for RdfDirection
impl Sync for RdfDirection
impl Unpin for RdfDirection
impl UnsafeUnpin for RdfDirection
impl UnwindSafe for RdfDirection
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<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Checks if
self is equivalent to key.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.