#[non_exhaustive]pub enum FillKind {
None,
Solid(Color),
Unsupported,
}Expand description
Face-fill verdict of a borderFill — distinguishes “no fill” from
“unsupported fill”: only the latter warrants a consumer warning.
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.
None
No fill (transparent) — normal, no warning.
Solid(Color)
Solid color fill.
Unsupported
Gradient/image/hatch fill or an unparsable color — consumers must warn and skip instead of guessing (no fake support).
Trait Implementations§
impl Copy for FillKind
impl StructuralPartialEq for FillKind
Auto Trait Implementations§
impl Freeze for FillKind
impl RefUnwindSafe for FillKind
impl Send for FillKind
impl Sync for FillKind
impl Unpin for FillKind
impl UnsafeUnpin for FillKind
impl UnwindSafe for FillKind
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