pub enum LineBreakValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
Anywhere,
Normal,
Loose,
Strict,
Number(Number),
}Variants§
Implementations§
Source§impl LineBreakValue
impl LineBreakValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is LineBreakValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is LineBreakValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is LineBreakValue::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 LineBreakValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is LineBreakValue::Unset otherwise false
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Returns true if the enum is LineBreakValue::Auto otherwise false
Sourcepub const fn is_anywhere(&self) -> bool
pub const fn is_anywhere(&self) -> bool
Returns true if the enum is LineBreakValue::Anywhere otherwise false
Sourcepub const fn is_normal(&self) -> bool
pub const fn is_normal(&self) -> bool
Returns true if the enum is LineBreakValue::Normal otherwise false
Sourcepub const fn is_loose(&self) -> bool
pub const fn is_loose(&self) -> bool
Returns true if the enum is LineBreakValue::Loose otherwise false
Trait Implementations§
Source§impl Clone for LineBreakValue
impl Clone for LineBreakValue
Source§fn clone(&self) -> LineBreakValue
fn clone(&self) -> LineBreakValue
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 LineBreakValue
impl Debug for LineBreakValue
Source§impl Display for LineBreakValue
impl Display for LineBreakValue
Source§impl PartialEq for LineBreakValue
impl PartialEq for LineBreakValue
impl StructuralPartialEq for LineBreakValue
impl UnitDataType<LineBreak<LineBreakValue>> for LineBreakValue
Auto Trait Implementations§
impl Freeze for LineBreakValue
impl RefUnwindSafe for LineBreakValue
impl Send for LineBreakValue
impl Sync for LineBreakValue
impl Unpin for LineBreakValue
impl UnwindSafe for LineBreakValue
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