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