#[non_exhaustive]pub enum Fill {
ContextFill,
ContextStroke,
None,
Color(Color),
Url(Url),
Raw(Raw),
}Expand description
A value of fill.
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.
ContextFill
context-fill.
ContextStroke
context-stroke.
None
none.
Color(Color)
A color.
Url(Url)
A URL.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for Fill
Auto Trait Implementations§
impl Freeze for Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnsafeUnpin for Fill
impl UnwindSafe for Fill
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