pub struct Seed {
pub color: Color,
pub scheme: Option<Scheme>,
}Expand description
A colour scale given by its seed in a token file (SEEDS_EXTENSION).
Fields§
§color: ColorThe seed colour (its alpha ignored).
scheme: Option<Scheme>The scheme the scale is generated for; None: the theme’s, from
its panels (surface.panel).
Implementations§
Trait Implementations§
impl Copy for Seed
impl StructuralPartialEq for Seed
Auto Trait Implementations§
impl Freeze for Seed
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnsafeUnpin for Seed
impl UnwindSafe for Seed
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