Struct theme2::UserHighlightStyle
source · pub struct UserHighlightStyle {
pub color: Option<Hsla>,
pub font_style: Option<UserFontStyle>,
pub font_weight: Option<UserFontWeight>,
}
Fields§
§color: Option<Hsla>
§font_style: Option<UserFontStyle>
§font_weight: Option<UserFontWeight>
Implementations§
Trait Implementations§
source§impl Clone for UserHighlightStyle
impl Clone for UserHighlightStyle
source§fn clone(&self) -> UserHighlightStyle
fn clone(&self) -> UserHighlightStyle
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 UserHighlightStyle
impl Default for UserHighlightStyle
source§fn default() -> UserHighlightStyle
fn default() -> UserHighlightStyle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserHighlightStyle
impl<'de> Deserialize<'de> for UserHighlightStyle
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
Auto Trait Implementations§
impl RefUnwindSafe for UserHighlightStyle
impl Send for UserHighlightStyle
impl Sync for UserHighlightStyle
impl Unpin for UserHighlightStyle
impl UnwindSafe for UserHighlightStyle
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