Struct theme2::UserThemeStylesRefinement
source · pub struct UserThemeStylesRefinement {
pub colors: ThemeColorsRefinement,
pub status: StatusColorsRefinement,
pub syntax: Option<UserSyntaxTheme>,
}
Fields§
§colors: ThemeColorsRefinement
§status: StatusColorsRefinement
§syntax: Option<UserSyntaxTheme>
Implementations§
Trait Implementations§
source§impl Clone for UserThemeStylesRefinement
impl Clone for UserThemeStylesRefinement
source§fn clone(&self) -> UserThemeStylesRefinement
fn clone(&self) -> UserThemeStylesRefinement
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 UserThemeStylesRefinementwhere
ThemeColorsRefinement: Clone,
StatusColorsRefinement: Clone,
Option<UserSyntaxTheme>: Clone,
impl Default for UserThemeStylesRefinementwhere ThemeColorsRefinement: Clone, StatusColorsRefinement: Clone, Option<UserSyntaxTheme>: Clone,
source§impl<'de> Deserialize<'de> for UserThemeStylesRefinement
impl<'de> Deserialize<'de> for UserThemeStylesRefinement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§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 UserThemeStylesRefinementwhere
ThemeColorsRefinement: Clone,
StatusColorsRefinement: Clone,
Option<UserSyntaxTheme>: Clone,
impl Refineable for UserThemeStylesRefinementwhere ThemeColorsRefinement: Clone, StatusColorsRefinement: Clone, Option<UserSyntaxTheme>: Clone,
type Refinement = UserThemeStylesRefinement
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 UserThemeStylesRefinement
impl Send for UserThemeStylesRefinement
impl Sync for UserThemeStylesRefinement
impl Unpin for UserThemeStylesRefinement
impl UnwindSafe for UserThemeStylesRefinement
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