#[repr(C)]pub enum StyleDirection {
Ltr = 0,
Rtl = 1,
}Expand description
Text direction.
Variants§
Trait Implementations§
Source§impl Clone for StyleDirection
impl Clone for StyleDirection
Source§fn clone(&self) -> StyleDirection
fn clone(&self) -> StyleDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 StyleDirection
impl Debug for StyleDirection
Source§impl Default for StyleDirection
impl Default for StyleDirection
Source§impl FormatAsRustCode for StyleDirection
impl FormatAsRustCode for StyleDirection
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleDirection> for CssProperty
impl From<StyleDirection> for CssProperty
Source§fn from(e: StyleDirection) -> Self
fn from(e: StyleDirection) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleDirection
impl Hash for StyleDirection
Source§impl Ord for StyleDirection
impl Ord for StyleDirection
Source§fn cmp(&self, other: &StyleDirection) -> Ordering
fn cmp(&self, other: &StyleDirection) -> 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 for StyleDirection
impl PartialEq for StyleDirection
Source§impl PartialOrd for StyleDirection
impl PartialOrd for StyleDirection
Source§impl PrintAsCssValue for StyleDirection
impl PrintAsCssValue for StyleDirection
fn print_as_css_value(&self) -> String
impl Copy for StyleDirection
impl Eq for StyleDirection
impl StructuralPartialEq for StyleDirection
Auto Trait Implementations§
impl Freeze for StyleDirection
impl RefUnwindSafe for StyleDirection
impl Send for StyleDirection
impl Sync for StyleDirection
impl Unpin for StyleDirection
impl UnwindSafe for StyleDirection
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