pub enum WritingModeValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
HorizontalTb,
VerticalRl,
VerticalLr,
SidewaysRl,
SidewaysLr,
}Variants§
Implementations§
Source§impl WritingModeValue
impl WritingModeValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is WritingModeValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is WritingModeValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is WritingModeValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is WritingModeValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is WritingModeValue::Unset otherwise false
Sourcepub const fn is_horizontal_tb(&self) -> bool
pub const fn is_horizontal_tb(&self) -> bool
Returns true if the enum is WritingModeValue::HorizontalTb otherwise false
Sourcepub const fn is_vertical_rl(&self) -> bool
pub const fn is_vertical_rl(&self) -> bool
Returns true if the enum is WritingModeValue::VerticalRl otherwise false
Sourcepub const fn is_vertical_lr(&self) -> bool
pub const fn is_vertical_lr(&self) -> bool
Returns true if the enum is WritingModeValue::VerticalLr otherwise false
Sourcepub const fn is_sideways_rl(&self) -> bool
pub const fn is_sideways_rl(&self) -> bool
Returns true if the enum is WritingModeValue::SidewaysRl otherwise false
Sourcepub const fn is_sideways_lr(&self) -> bool
pub const fn is_sideways_lr(&self) -> bool
Returns true if the enum is WritingModeValue::SidewaysLr otherwise false
Trait Implementations§
Source§impl Clone for WritingModeValue
impl Clone for WritingModeValue
Source§fn clone(&self) -> WritingModeValue
fn clone(&self) -> WritingModeValue
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 WritingModeValue
impl Debug for WritingModeValue
Source§impl Display for WritingModeValue
impl Display for WritingModeValue
Source§impl PartialEq for WritingModeValue
impl PartialEq for WritingModeValue
impl StructuralPartialEq for WritingModeValue
impl UnitDataType<WritingMode<WritingModeValue>> for WritingModeValue
Auto Trait Implementations§
impl Freeze for WritingModeValue
impl RefUnwindSafe for WritingModeValue
impl Send for WritingModeValue
impl Sync for WritingModeValue
impl Unpin for WritingModeValue
impl UnwindSafe for WritingModeValue
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