#[repr(C)]pub enum StyleTextOrientation {
Mixed = 0,
Upright = 1,
Sideways = 2,
}Expand description
CSS text-orientation property for vertical writing modes. CSS Writing Modes Level 4 §5.1
Variants§
Trait Implementations§
Source§impl Clone for StyleTextOrientation
impl Clone for StyleTextOrientation
Source§fn clone(&self) -> StyleTextOrientation
fn clone(&self) -> StyleTextOrientation
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 StyleTextOrientation
impl Debug for StyleTextOrientation
Source§impl Default for StyleTextOrientation
impl Default for StyleTextOrientation
Source§fn default() -> StyleTextOrientation
fn default() -> StyleTextOrientation
Returns the “default value” for a type. Read more
Source§impl FormatAsRustCode for StyleTextOrientation
impl FormatAsRustCode for StyleTextOrientation
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleTextOrientation> for CssProperty
impl From<StyleTextOrientation> for CssProperty
Source§fn from(e: StyleTextOrientation) -> Self
fn from(e: StyleTextOrientation) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTextOrientation
impl Hash for StyleTextOrientation
Source§impl Ord for StyleTextOrientation
impl Ord for StyleTextOrientation
Source§fn cmp(&self, other: &StyleTextOrientation) -> Ordering
fn cmp(&self, other: &StyleTextOrientation) -> 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 StyleTextOrientation
impl PartialEq for StyleTextOrientation
Source§fn eq(&self, other: &StyleTextOrientation) -> bool
fn eq(&self, other: &StyleTextOrientation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StyleTextOrientation
impl PartialOrd for StyleTextOrientation
Source§impl PrintAsCssValue for StyleTextOrientation
impl PrintAsCssValue for StyleTextOrientation
fn print_as_css_value(&self) -> String
impl Copy for StyleTextOrientation
impl Eq for StyleTextOrientation
impl StructuralPartialEq for StyleTextOrientation
Auto Trait Implementations§
impl Freeze for StyleTextOrientation
impl RefUnwindSafe for StyleTextOrientation
impl Send for StyleTextOrientation
impl Sync for StyleTextOrientation
impl Unpin for StyleTextOrientation
impl UnsafeUnpin for StyleTextOrientation
impl UnwindSafe for StyleTextOrientation
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