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