Struct mottle::dsl::ThemeBuilder
source · [−]pub struct ThemeBuilder {
pub textmate_rules: Vec<Rule>,
pub semantic_rules: IndexMap<Selector, Style>,
pub workbench_rules: IndexMap<Cow<'static, str>, Color>,
}
Fields
textmate_rules: Vec<Rule>
semantic_rules: IndexMap<Selector, Style>
workbench_rules: IndexMap<Cow<'static, str>, Color>
Implementations
Trait Implementations
sourceimpl Debug for ThemeBuilder
impl Debug for ThemeBuilder
sourceimpl Default for ThemeBuilder
impl Default for ThemeBuilder
sourcefn default() -> ThemeBuilder
fn default() -> ThemeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThemeBuilder
impl Send for ThemeBuilder
impl Sync for ThemeBuilder
impl Unpin for ThemeBuilder
impl UnwindSafe for ThemeBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more