pub struct Theme { /* private fields */ }Expand description
Resolved semantic styles; raw config keys never reach the formatters.
Implementations§
Source§impl Theme
impl Theme
pub fn style(&self, role: &str) -> &Style
pub fn overlay(&self, base: &Style, role: &str) -> Style
pub fn field_attributes_override(&self, field: &str) -> Option<FontStyles>
Sourcepub fn field_style(&self, base: &Style, field: &str) -> Style
pub fn field_style(&self, base: &Style, field: &str) -> Style
Legacy whole-column attributes apply only in long output; inline styles win.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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