pub enum MaskImage {
Url(String),
Gradient(Gradient),
}Expand description
CSS mask-image value
Variants§
Url(String)
URL to an image file
Gradient(Gradient)
Gradient mask (reuses the existing Gradient type)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaskImage
impl RefUnwindSafe for MaskImage
impl Send for MaskImage
impl Sync for MaskImage
impl Unpin for MaskImage
impl UnsafeUnpin for MaskImage
impl UnwindSafe for MaskImage
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