pub trait MarkdownViewerThemePartialExt {
Show 15 methods
// Required methods
fn color(self, color: impl Into<Color>) -> Self;
fn background_code(self, background_code: impl Into<Color>) -> Self;
fn color_code(self, color_code: impl Into<Color>) -> Self;
fn background_blockquote(
self,
background_blockquote: impl Into<Color>,
) -> Self;
fn border_blockquote(self, border_blockquote: impl Into<Color>) -> Self;
fn background_divider(self, background_divider: impl Into<Color>) -> Self;
fn heading_h1(self, heading_h1: impl Into<f32>) -> Self;
fn heading_h2(self, heading_h2: impl Into<f32>) -> Self;
fn heading_h3(self, heading_h3: impl Into<f32>) -> Self;
fn heading_h4(self, heading_h4: impl Into<f32>) -> Self;
fn heading_h5(self, heading_h5: impl Into<f32>) -> Self;
fn heading_h6(self, heading_h6: impl Into<f32>) -> Self;
fn paragraph_size(self, paragraph_size: impl Into<f32>) -> Self;
fn code_font_size(self, code_font_size: impl Into<f32>) -> Self;
fn table_font_size(self, table_font_size: impl Into<f32>) -> Self;
}Required Methods§
fn color(self, color: impl Into<Color>) -> Self
fn background_code(self, background_code: impl Into<Color>) -> Self
fn color_code(self, color_code: impl Into<Color>) -> Self
fn background_blockquote(self, background_blockquote: impl Into<Color>) -> Self
fn border_blockquote(self, border_blockquote: impl Into<Color>) -> Self
fn background_divider(self, background_divider: impl Into<Color>) -> Self
fn heading_h1(self, heading_h1: impl Into<f32>) -> Self
fn heading_h2(self, heading_h2: impl Into<f32>) -> Self
fn heading_h3(self, heading_h3: impl Into<f32>) -> Self
fn heading_h4(self, heading_h4: impl Into<f32>) -> Self
fn heading_h5(self, heading_h5: impl Into<f32>) -> Self
fn heading_h6(self, heading_h6: impl Into<f32>) -> Self
fn paragraph_size(self, paragraph_size: impl Into<f32>) -> Self
fn code_font_size(self, code_font_size: impl Into<f32>) -> Self
fn table_font_size(self, table_font_size: impl Into<f32>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.