pub enum BaseDirection {
Ltr,
Rtl,
}Expand description
A base direction for directional language-tagged strings.
See: https://www.w3.org/TR/rdf12-concepts/#dfn-base-direction
Variants§
Ltr
The initial text direction is set to left-to-right (LTR)
Rtl
The initial text direction is set to right-to-left (RTL)
Implementations§
Trait Implementations§
Source§impl Clone for BaseDirection
impl Clone for BaseDirection
Source§fn clone(&self) -> BaseDirection
fn clone(&self) -> BaseDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaseDirection
impl Debug for BaseDirection
Source§impl Default for BaseDirection
impl Default for BaseDirection
Source§fn default() -> BaseDirection
fn default() -> BaseDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BaseDirection
impl<'de> Deserialize<'de> for BaseDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BaseDirection
Source§impl From<BaseDirection> for BaseDirection
Available on crate feature oxrdf only.
impl From<BaseDirection> for BaseDirection
Available on crate feature
oxrdf only.Source§fn from(input: BaseDirection) -> Self
fn from(input: BaseDirection) -> Self
Converts to this type from the input type.
Source§impl From<BaseDirection> for BaseDirection
Available on crate feature oxrdf only.
impl From<BaseDirection> for BaseDirection
Available on crate feature
oxrdf only.Source§fn from(input: BaseDirection) -> Self
fn from(input: BaseDirection) -> Self
Converts to this type from the input type.
Source§impl Hash for BaseDirection
impl Hash for BaseDirection
Source§impl Ord for BaseDirection
impl Ord for BaseDirection
Source§fn cmp(&self, other: &BaseDirection) -> Ordering
fn cmp(&self, other: &BaseDirection) -> Ordering
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
Source§impl PartialEq for BaseDirection
impl PartialEq for BaseDirection
Source§fn eq(&self, other: &BaseDirection) -> bool
fn eq(&self, other: &BaseDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BaseDirection
impl PartialOrd for BaseDirection
Source§impl Serialize for BaseDirection
impl Serialize for BaseDirection
impl StructuralPartialEq for BaseDirection
Auto Trait Implementations§
impl Freeze for BaseDirection
impl RefUnwindSafe for BaseDirection
impl Send for BaseDirection
impl Sync for BaseDirection
impl Unpin for BaseDirection
impl UnsafeUnpin for BaseDirection
impl UnwindSafe for BaseDirection
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
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.