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