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