Enum axohtml::types::TextDirection
source · pub enum TextDirection {
LeftToRight,
RightToLeft,
}Variants§
Trait Implementations§
source§impl AsRef<str> for TextDirection
impl AsRef<str> for TextDirection
source§impl Display for TextDirection
impl Display for TextDirection
source§impl<'_derivative_strum> From<&'_derivative_strum TextDirection> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum TextDirection> for &'static str
source§fn from(x: &'_derivative_strum TextDirection) -> &'static str
fn from(x: &'_derivative_strum TextDirection) -> &'static str
Converts to this type from the input type.
source§impl From<TextDirection> for &'static str
impl From<TextDirection> for &'static str
source§fn from(x: TextDirection) -> &'static str
fn from(x: TextDirection) -> &'static str
Converts to this type from the input type.
source§impl FromStr for TextDirection
impl FromStr for TextDirection
source§impl Ord for TextDirection
impl Ord for TextDirection
source§fn cmp(&self, other: &TextDirection) -> Ordering
fn cmp(&self, other: &TextDirection) -> Ordering
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 PartialEq<TextDirection> for TextDirection
impl PartialEq<TextDirection> for TextDirection
source§fn eq(&self, other: &TextDirection) -> bool
fn eq(&self, other: &TextDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TextDirection> for TextDirection
impl PartialOrd<TextDirection> for TextDirection
source§fn partial_cmp(&self, other: &TextDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &TextDirection) -> Option<Ordering>
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 more