pub enum TransformBox {
ContentBox,
BorderBox,
FillBox,
StrokeBox,
ViewBox,
}Expand description
The transform-box keyword.
Variants§
ContentBox
content-box — reference box is the content box.
BorderBox
border-box — reference box is the border box.
FillBox
fill-box — reference box is the object’s bounding box.
StrokeBox
stroke-box — reference box is the stroke bounding box.
ViewBox
view-box — reference box is the viewport.
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 moreimpl Copy for TransformBox
Source§impl Debug for TransformBox
impl Debug for TransformBox
impl Eq for TransformBox
Source§impl Hash for TransformBox
impl Hash for TransformBox
Source§impl PartialEq for TransformBox
impl PartialEq for TransformBox
Source§fn eq(&self, other: &TransformBox) -> bool
fn eq(&self, other: &TransformBox) -> bool
Tests for
self and other values to be equal, and is used by ==.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