Struct theme2::UserThemeStyles
source · pub struct UserThemeStyles {
pub colors: ThemeColors,
pub status: StatusColors,
pub syntax: UserSyntaxTheme,
}
Fields§
§colors: ThemeColors
§status: StatusColors
§syntax: UserSyntaxTheme
Trait Implementations§
source§impl Clone for UserThemeStyles
impl Clone for UserThemeStyles
source§fn clone(&self) -> UserThemeStyles
fn clone(&self) -> UserThemeStyles
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<UserThemeStylesRefinement> for UserThemeStyleswhere
ThemeColorsRefinement: Clone,
StatusColorsRefinement: Clone,
Option<UserSyntaxTheme>: Clone,
impl From<UserThemeStylesRefinement> for UserThemeStyleswhere ThemeColorsRefinement: Clone, StatusColorsRefinement: Clone, Option<UserSyntaxTheme>: Clone,
source§fn from(value: UserThemeStylesRefinement) -> Self
fn from(value: UserThemeStylesRefinement) -> Self
Converts to this type from the input type.
source§impl Refineable for UserThemeStyleswhere
ThemeColorsRefinement: Clone,
StatusColorsRefinement: Clone,
Option<UserSyntaxTheme>: Clone,
impl Refineable for UserThemeStyleswhere ThemeColorsRefinement: Clone, StatusColorsRefinement: Clone, Option<UserSyntaxTheme>: Clone,
type Refinement = UserThemeStylesRefinement
fn refine(&mut self, refinement: &Self::Refinement)
fn refined(self, refinement: Self::Refinement) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for UserThemeStyles
impl Send for UserThemeStyles
impl Sync for UserThemeStyles
impl Unpin for UserThemeStyles
impl UnwindSafe for UserThemeStyles
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