#[non_exhaustive]pub enum ClipPath {
BorderBox,
ContentBox,
FillBox,
MarginBox,
None,
PaddingBox,
StrokeBox,
ViewBox,
Url(Url),
Raw(Raw),
}Expand description
A value of clip-path.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BorderBox
border-box.
ContentBox
content-box.
FillBox
fill-box.
MarginBox
margin-box.
None
none.
PaddingBox
padding-box.
StrokeBox
stroke-box.
ViewBox
view-box.
Url(Url)
A URL.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for ClipPath
Auto Trait Implementations§
impl Freeze for ClipPath
impl RefUnwindSafe for ClipPath
impl Send for ClipPath
impl Sync for ClipPath
impl Unpin for ClipPath
impl UnsafeUnpin for ClipPath
impl UnwindSafe for ClipPath
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