Struct theme2::UserSyntaxTheme
source · pub struct UserSyntaxTheme {
pub highlights: Vec<(String, UserHighlightStyle)>,
}
Fields§
§highlights: Vec<(String, UserHighlightStyle)>
Trait Implementations§
source§impl Clone for UserSyntaxTheme
impl Clone for UserSyntaxTheme
source§fn clone(&self) -> UserSyntaxTheme
fn clone(&self) -> UserSyntaxTheme
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 UserSyntaxTheme
impl Default for UserSyntaxTheme
source§fn default() -> UserSyntaxTheme
fn default() -> UserSyntaxTheme
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserSyntaxTheme
impl<'de> Deserialize<'de> for UserSyntaxTheme
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 UserSyntaxTheme
impl Send for UserSyntaxTheme
impl Sync for UserSyntaxTheme
impl Unpin for UserSyntaxTheme
impl UnwindSafe for UserSyntaxTheme
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