pub struct MarkdownConfig {
pub encoding: String,
pub html_config: HtmlConfig,
}👎Deprecated since 0.0.4:
use HtmlConfig directly — encoding is now a field on HtmlConfig
Expand description
Legacy configuration type — use HtmlConfig directly instead.
This type is kept for backward compatibility. The encoding field
has been moved into HtmlConfig itself.
Fields§
§encoding: String👎Deprecated since 0.0.4:
use HtmlConfig directly — encoding is now a field on HtmlConfig
The encoding to use for input/output (defaults to “utf-8”)
html_config: HtmlConfig👎Deprecated since 0.0.4:
use HtmlConfig directly — encoding is now a field on HtmlConfig
HTML generation configuration
Trait Implementations§
Source§impl Clone for MarkdownConfig
impl Clone for MarkdownConfig
Source§fn clone(&self) -> MarkdownConfig
fn clone(&self) -> MarkdownConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarkdownConfig
impl Debug for MarkdownConfig
Source§impl Default for MarkdownConfig
impl Default for MarkdownConfig
impl Eq for MarkdownConfig
Source§impl From<MarkdownConfig> for HtmlConfig
impl From<MarkdownConfig> for HtmlConfig
Source§fn from(mc: MarkdownConfig) -> Self
fn from(mc: MarkdownConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MarkdownConfig
impl PartialEq for MarkdownConfig
impl StructuralPartialEq for MarkdownConfig
Auto Trait Implementations§
impl Freeze for MarkdownConfig
impl RefUnwindSafe for MarkdownConfig
impl Send for MarkdownConfig
impl Sync for MarkdownConfig
impl Unpin for MarkdownConfig
impl UnsafeUnpin for MarkdownConfig
impl UnwindSafe for MarkdownConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.