Struct pulldown_cmark_mdcat::Settings
source · pub struct Settings<'a> {
pub terminal_capabilities: TerminalCapabilities,
pub terminal_size: TerminalSize,
pub syntax_set: &'a SyntaxSet,
pub theme: Theme,
}Expand description
Settings for markdown rendering.
Fields§
§terminal_capabilities: TerminalCapabilitiesCapabilities of the terminal mdcat writes to.
terminal_size: TerminalSizeThe size of the terminal mdcat writes to.
syntax_set: &'a SyntaxSetSyntax set for syntax highlighting of code blocks.
theme: ThemeColour theme for mdcat
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Settings<'a>
impl<'a> Send for Settings<'a>
impl<'a> Sync for Settings<'a>
impl<'a> Unpin for Settings<'a>
impl<'a> UnwindSafe for Settings<'a>
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