Enum ListStyleType

pub enum ListStyleType

Options for bulleted list rendering in markdown. See Render::list_style for more details.

Variants

Dash = 45

The - character

Plus = 43

The + character

Star = 42

The * character

Trait Implementations

impl Clone for ListStyleType

fn clone(&self) -> Self

impl Copy for ListStyleType

impl Debug for ListStyleType

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

impl Default for ListStyleType

fn default() -> Self

Auto Trait Implementations

impl Freeze for ListStyleType

impl RefUnwindSafe for ListStyleType

impl Send for ListStyleType

impl Sync for ListStyleType

impl Unpin for ListStyleType

impl UnsafeUnpin for ListStyleType

impl UnwindSafe for ListStyleType

Blanket Implementations

impl<T> Any for ListStyleType where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ListStyleType where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ListStyleType where T: ?Sized,

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

impl<T> CloneToUninit for ListStyleType where T: Clone,

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

impl<T> From<T> for ListStyleType

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ListStyleType where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for ListStyleType where U: From<T>,

fn into(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<U> for ListStyleType where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ListStyleType where U: TryFrom<T>,

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