pub enum OverflowValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Visible,
Hidden,
Clip,
Scroll,
Auto,
}Variants§
Implementations§
Source§impl OverflowValue
impl OverflowValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is OverflowValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is OverflowValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is OverflowValue::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 OverflowValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is OverflowValue::Unset otherwise false
Sourcepub const fn is_visible(&self) -> bool
pub const fn is_visible(&self) -> bool
Returns true if the enum is OverflowValue::Visible otherwise false
Returns true if the enum is OverflowValue::Hidden otherwise false
Sourcepub const fn is_clip(&self) -> bool
pub const fn is_clip(&self) -> bool
Returns true if the enum is OverflowValue::Clip otherwise false
Trait Implementations§
Source§impl Clone for OverflowValue
impl Clone for OverflowValue
Source§fn clone(&self) -> OverflowValue
fn clone(&self) -> OverflowValue
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 OverflowValue
impl Debug for OverflowValue
Source§impl Display for OverflowValue
impl Display for OverflowValue
Source§impl PartialEq for OverflowValue
impl PartialEq for OverflowValue
impl StructuralPartialEq for OverflowValue
impl UnitDataType<Overflow<OverflowValue>> for OverflowValue
Auto Trait Implementations§
impl Freeze for OverflowValue
impl RefUnwindSafe for OverflowValue
impl Send for OverflowValue
impl Sync for OverflowValue
impl Unpin for OverflowValue
impl UnwindSafe for OverflowValue
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