Struct Options

struct Options<'c> { ... }

Umbrella options struct.

Fields

extension: ExtensionOptions<'c>

Enable CommonMark extensions.

parse: ParseOptions<'c>

Configure parse-time options.

render: RenderOptions

Configure render-time options.

Implementations

impl<'c> Clone for Options<'c>

fn clone(self: &Self) -> Options<'c>

impl<'c> Debug for Options<'c>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<'c> Default for Options<'c>

fn default() -> Options<'c>

impl<'c> Freeze for Options<'c>

impl<'c> RefUnwindSafe for Options<'c>

impl<'c> Send for Options<'c>

impl<'c> Sync for Options<'c>

impl<'c> Unpin for Options<'c>

impl<'c> UnsafeUnpin for Options<'c>

impl<'c> UnwindSafe for Options<'c>

impl<T> Any for Options<'c>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Options<'c>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Options<'c>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Options<'c>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Options<'c>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Options<'c>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Options<'c>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Options<'c>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Options<'c>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>