pub struct ThemeItem {
pub scope: ScopeSelectors,
pub style: StyleModifier,
}
Expand description
A component of a theme meant to highlight a specific thing (e.g string literals) in a certain way.
Fields§
§scope: ScopeSelectors
Target scope name.
style: StyleModifier
The style to use for this component
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThemeItem
impl<'de> Deserialize<'de> for ThemeItem
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
impl StructuralPartialEq for ThemeItem
Auto Trait Implementations§
impl Freeze for ThemeItem
impl RefUnwindSafe for ThemeItem
impl Send for ThemeItem
impl Sync for ThemeItem
impl Unpin for ThemeItem
impl UnwindSafe for ThemeItem
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