#[non_exhaustive]pub enum MaskClip {
BorderBox,
ContentBox,
FillBox,
NoClip,
PaddingBox,
StrokeBox,
ViewBox,
Raw(Raw),
}Expand description
A value of mask-clip.
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.
NoClip
no-clip.
PaddingBox
padding-box.
StrokeBox
stroke-box.
ViewBox
view-box.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for MaskClip
Auto Trait Implementations§
impl Freeze for MaskClip
impl RefUnwindSafe for MaskClip
impl Send for MaskClip
impl Sync for MaskClip
impl Unpin for MaskClip
impl UnsafeUnpin for MaskClip
impl UnwindSafe for MaskClip
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