pub enum PaintBox {
ContentBox(Ident),
PaddingBox(Ident),
BorderBox(Ident),
FillBox(Ident),
StrokeBox(Ident),
}Expand description
https://drafts.csswg.org/css-box-4/#typedef-paint-box
<paint-box> = <visual-box> | fill-box | stroke-boxVariants§
Trait Implementations§
Source§impl Ord for PaintBox
impl Ord for PaintBox
Source§impl PartialOrd for PaintBox
impl PartialOrd for PaintBox
Source§impl ToCursors for PaintBox
impl ToCursors for PaintBox
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PaintBox
impl Eq for PaintBox
impl StructuralPartialEq for PaintBox
Auto Trait Implementations§
impl Freeze for PaintBox
impl RefUnwindSafe for PaintBox
impl Send for PaintBox
impl Sync for PaintBox
impl Unpin for PaintBox
impl UnwindSafe for PaintBox
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