pub struct Options<'c> {
pub extension: ExtensionOptions,
pub parse: ParseOptions<'c>,
pub render: RenderOptions,
}Expand description
Umbrella options struct. 'c represents the lifetime of any callback
closure options may take.
Fields§
§extension: ExtensionOptionsEnable CommonMark extensions.
parse: ParseOptions<'c>Configure parse-time options.
render: RenderOptionsConfigure render-time options.
Trait Implementations§
source§impl<'c, 'arbitrary: 'c> Arbitrary<'arbitrary> for Options<'c>
impl<'c, 'arbitrary: 'c> Arbitrary<'arbitrary> for Options<'c>
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreAuto Trait Implementations§
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> UnwindSafe for Options<'c>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)