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