pub enum Fill {
Semantic(Semantic),
Color(Color),
}Expand description
A color given either as a theme role (preferred, follows theme changes) or as a literal color.
Variants§
Semantic(Semantic)
A theme color role, resolved against the current theme.
Color(Color)
A fixed color.
Implementations§
Trait Implementations§
impl Copy for Fill
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