pub struct Theme {Show 26 fields
pub rosewater: Color32,
pub flamingo: Color32,
pub pink: Color32,
pub mauve: Color32,
pub red: Color32,
pub maroon: Color32,
pub peach: Color32,
pub yellow: Color32,
pub green: Color32,
pub teal: Color32,
pub sky: Color32,
pub sapphire: Color32,
pub blue: Color32,
pub lavender: Color32,
pub text: Color32,
pub subtext1: Color32,
pub subtext0: Color32,
pub overlay2: Color32,
pub overlay1: Color32,
pub overlay0: Color32,
pub surface2: Color32,
pub surface1: Color32,
pub surface0: Color32,
pub base: Color32,
pub mantle: Color32,
pub crust: Color32,
}
Expand description
The colors for a theme variant.
Fields§
§rosewater: Color32
§flamingo: Color32
§pink: Color32
§mauve: Color32
§red: Color32
§maroon: Color32
§peach: Color32
§yellow: Color32
§green: Color32
§teal: Color32
§sky: Color32
§sapphire: Color32
§blue: Color32
§lavender: Color32
§text: Color32
§subtext1: Color32
§subtext0: Color32
§overlay2: Color32
§overlay1: Color32
§overlay0: Color32
§surface2: Color32
§surface1: Color32
§surface0: Color32
§base: Color32
§mantle: Color32
§crust: Color32
Trait Implementations§
impl Copy for Theme
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)