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