Struct theme2::ThemeStyles
source · pub struct ThemeStyles {
pub system: SystemColors,
pub colors: ThemeColors,
pub status: StatusColors,
pub player: PlayerColors,
pub syntax: Arc<SyntaxTheme>,
}
Fields§
§system: SystemColors
§colors: ThemeColors
§status: StatusColors
§player: PlayerColors
§syntax: Arc<SyntaxTheme>
Trait Implementations§
source§impl Clone for ThemeStyles
impl Clone for ThemeStyles
source§fn clone(&self) -> ThemeStyles
fn clone(&self) -> ThemeStyles
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ThemeStylesRefinement> for ThemeStyleswhere
Option<SystemColors>: Clone,
ThemeColorsRefinement: Clone,
Option<StatusColors>: Clone,
Option<PlayerColors>: Clone,
Option<Arc<SyntaxTheme>>: Clone,
impl From<ThemeStylesRefinement> for ThemeStyleswhere Option<SystemColors>: Clone, ThemeColorsRefinement: Clone, Option<StatusColors>: Clone, Option<PlayerColors>: Clone, Option<Arc<SyntaxTheme>>: Clone,
source§fn from(value: ThemeStylesRefinement) -> Self
fn from(value: ThemeStylesRefinement) -> Self
Converts to this type from the input type.
source§impl Refineable for ThemeStyleswhere
Option<SystemColors>: Clone,
ThemeColorsRefinement: Clone,
Option<StatusColors>: Clone,
Option<PlayerColors>: Clone,
Option<Arc<SyntaxTheme>>: Clone,
impl Refineable for ThemeStyleswhere Option<SystemColors>: Clone, ThemeColorsRefinement: Clone, Option<StatusColors>: Clone, Option<PlayerColors>: Clone, Option<Arc<SyntaxTheme>>: Clone,
type Refinement = ThemeStylesRefinement
fn refine(&mut self, refinement: &Self::Refinement)
fn refined(self, refinement: Self::Refinement) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for ThemeStyles
impl Send for ThemeStyles
impl Sync for ThemeStyles
impl Unpin for ThemeStyles
impl UnwindSafe for ThemeStyles
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