pub struct MarkdownStyles {Show 13 fields
pub h1: &'static str,
pub h2: &'static str,
pub h3: &'static str,
pub bold: &'static str,
pub italic: &'static str,
pub code_inline: &'static str,
pub code_block_lang: &'static str,
pub link_url: &'static str,
pub list_marker: &'static str,
pub blockquote: &'static str,
pub hr: &'static str,
pub text: &'static str,
pub reset: &'static str,
}Expand description
ANSI style constants for markdown elements.
Fields§
§h1: &'static str§h2: &'static str§h3: &'static str§bold: &'static str§italic: &'static str§code_inline: &'static str§code_block_lang: &'static str§link_url: &'static str§list_marker: &'static str§blockquote: &'static str§hr: &'static str§text: &'static str§reset: &'static strTrait Implementations§
Auto Trait Implementations§
impl Freeze for MarkdownStyles
impl RefUnwindSafe for MarkdownStyles
impl Send for MarkdownStyles
impl Sync for MarkdownStyles
impl Unpin for MarkdownStyles
impl UnsafeUnpin for MarkdownStyles
impl UnwindSafe for MarkdownStyles
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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