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