#[non_exhaustive]pub enum WritingMode {
HorizontalTb,
SidewaysLr,
SidewaysRl,
VerticalLr,
VerticalRl,
}Expand description
A value of writing-mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HorizontalTb
horizontal-tb.
SidewaysLr
sideways-lr.
SidewaysRl
sideways-rl.
VerticalLr
vertical-lr.
VerticalRl
vertical-rl.
Trait Implementations§
Source§impl Clone for WritingMode
impl Clone for WritingMode
Source§fn clone(&self) -> WritingMode
fn clone(&self) -> WritingMode
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 WritingMode
impl Debug for WritingMode
Source§impl Display for WritingMode
impl Display for WritingMode
Source§impl PartialEq for WritingMode
impl PartialEq for WritingMode
impl StructuralPartialEq for WritingMode
Auto Trait Implementations§
impl Freeze for WritingMode
impl RefUnwindSafe for WritingMode
impl Send for WritingMode
impl Sync for WritingMode
impl Unpin for WritingMode
impl UnsafeUnpin for WritingMode
impl UnwindSafe for WritingMode
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