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