Struct theme2::ThemeStylesRefinement
source · pub struct ThemeStylesRefinement {
pub system: Option<SystemColors>,
pub colors: ThemeColorsRefinement,
pub status: Option<StatusColors>,
pub player: Option<PlayerColors>,
pub syntax: Option<Arc<SyntaxTheme>>,
}
Fields§
§system: Option<SystemColors>
§colors: ThemeColorsRefinement
§status: Option<StatusColors>
§player: Option<PlayerColors>
§syntax: Option<Arc<SyntaxTheme>>
Implementations§
source§impl ThemeStylesRefinementwhere
Option<SystemColors>: Clone,
ThemeColorsRefinement: Clone,
Option<StatusColors>: Clone,
Option<PlayerColors>: Clone,
Option<Arc<SyntaxTheme>>: Clone,
impl ThemeStylesRefinementwhere Option<SystemColors>: Clone, ThemeColorsRefinement: Clone, Option<StatusColors>: Clone, Option<PlayerColors>: Clone, Option<Arc<SyntaxTheme>>: Clone,
Trait Implementations§
source§impl Clone for ThemeStylesRefinement
impl Clone for ThemeStylesRefinement
source§fn clone(&self) -> ThemeStylesRefinement
fn clone(&self) -> ThemeStylesRefinement
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 Default for ThemeStylesRefinementwhere
Option<SystemColors>: Clone,
ThemeColorsRefinement: Clone,
Option<StatusColors>: Clone,
Option<PlayerColors>: Clone,
Option<Arc<SyntaxTheme>>: Clone,
impl Default for ThemeStylesRefinementwhere Option<SystemColors>: Clone, ThemeColorsRefinement: Clone, Option<StatusColors>: Clone, Option<PlayerColors>: Clone, Option<Arc<SyntaxTheme>>: Clone,
source§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 ThemeStylesRefinementwhere
Option<SystemColors>: Clone,
ThemeColorsRefinement: Clone,
Option<StatusColors>: Clone,
Option<PlayerColors>: Clone,
Option<Arc<SyntaxTheme>>: Clone,
impl Refineable for ThemeStylesRefinementwhere 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
fn from_cascade(cascade: &Cascade<Self>) -> Selfwhere Self: Default + Sized,
Auto Trait Implementations§
impl RefUnwindSafe for ThemeStylesRefinement
impl Send for ThemeStylesRefinement
impl Sync for ThemeStylesRefinement
impl Unpin for ThemeStylesRefinement
impl UnwindSafe for ThemeStylesRefinement
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