#[repr(C)]pub enum VisualBox {
ContentBox = 0,
PaddingBox = 1,
BorderBox = 2,
}Expand description
Represents the <visual-box> value used as the overflow clip edge origin.
Specifies which box edge to use as the starting point for the clip region.
Defaults to padding-box per CSS Overflow Module Level 3.
Variants§
ContentBox = 0
Clip edge starts at the content box edge.
PaddingBox = 1
Clip edge starts at the padding box edge (default).
BorderBox = 2
Clip edge starts at the border box edge.
Trait Implementations§
Source§impl Ord for VisualBox
impl Ord for VisualBox
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VisualBox
impl PartialOrd for VisualBox
Source§impl PrintAsCssValue for VisualBox
impl PrintAsCssValue for VisualBox
fn print_as_css_value(&self) -> String
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 UnsafeUnpin 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