pub struct MarkdownViewerTheme {Show 15 fields
pub color: Color,
pub background_code: Color,
pub color_code: Color,
pub background_blockquote: Color,
pub border_blockquote: Color,
pub background_divider: Color,
pub heading_h1: f32,
pub heading_h2: f32,
pub heading_h3: f32,
pub heading_h4: f32,
pub heading_h5: f32,
pub heading_h6: f32,
pub paragraph_size: f32,
pub code_font_size: f32,
pub table_font_size: f32,
}Expand description
Theming properties for the MarkdownViewer component.
Fields§
§color: Color§background_code: Color§color_code: Color§background_blockquote: Color§border_blockquote: Color§background_divider: Color§heading_h1: f32§heading_h2: f32§heading_h3: f32§heading_h4: f32§heading_h5: f32§heading_h6: f32§paragraph_size: f32§code_font_size: f32§table_font_size: f32Trait Implementations§
Source§impl Clone for MarkdownViewerTheme
impl Clone for MarkdownViewerTheme
Source§fn clone(&self) -> MarkdownViewerTheme
fn clone(&self) -> MarkdownViewerTheme
Returns a duplicate 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 Debug for MarkdownViewerTheme
impl Debug for MarkdownViewerTheme
Source§impl PartialEq for MarkdownViewerTheme
impl PartialEq for MarkdownViewerTheme
impl StructuralPartialEq for MarkdownViewerTheme
Auto Trait Implementations§
impl Freeze for MarkdownViewerTheme
impl RefUnwindSafe for MarkdownViewerTheme
impl Send for MarkdownViewerTheme
impl Sync for MarkdownViewerTheme
impl Unpin for MarkdownViewerTheme
impl UnwindSafe for MarkdownViewerTheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ComponentProps for T
impl<T> ComponentProps for T
fn changed(&self, other: &(dyn ComponentProps + 'static)) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more