#[non_exhaustive]pub enum TransformBox {
BorderBox,
ContentBox,
FillBox,
StrokeBox,
ViewBox,
}Expand description
A value of transform-box.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BorderBox
border-box.
ContentBox
content-box.
FillBox
fill-box.
StrokeBox
stroke-box.
ViewBox
view-box.
Trait Implementations§
Source§impl Clone for TransformBox
impl Clone for TransformBox
Source§fn clone(&self) -> TransformBox
fn clone(&self) -> TransformBox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransformBox
impl Debug for TransformBox
Source§impl Display for TransformBox
impl Display for TransformBox
Source§impl PartialEq for TransformBox
impl PartialEq for TransformBox
impl StructuralPartialEq for TransformBox
Auto Trait Implementations§
impl Freeze for TransformBox
impl RefUnwindSafe for TransformBox
impl Send for TransformBox
impl Sync for TransformBox
impl Unpin for TransformBox
impl UnsafeUnpin for TransformBox
impl UnwindSafe for TransformBox
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