Enum ListType

enum ListType

The type of list.

Variants

Bullet

A bullet list, i.e. an unordered list.

Ordered

An ordered list.

Implementations

impl Clone for ListType

fn clone(self: &Self) -> ListType

impl Copy for ListType

impl Debug for ListType

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

impl Default for ListType

fn default() -> ListType

impl Eq for ListType

impl Freeze for ListType

impl PartialEq for ListType

fn eq(self: &Self, other: &ListType) -> bool

impl RefUnwindSafe for ListType

impl Send for ListType

impl StructuralPartialEq for ListType

impl Sync for ListType

impl Unpin for ListType

impl UnwindSafe for ListType

impl<T> Any for ListType

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ListType

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

impl<T> BorrowMut for ListType

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

impl<T> CloneToUninit for ListType

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

impl<T> From for ListType

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ListType

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

impl<T, U> Into for ListType

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 ListType

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

impl<T, U> TryInto for ListType

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