Enum ListDelimType

pub enum ListDelimType

The delimiter for ordered lists, i.e. the character which appears after each number.

Variants

Period

A period character ..

Paren

A paren character ).

Trait Implementations

impl Clone for ListDelimType

fn clone(&self) -> ListDelimType

impl Copy for ListDelimType

impl Debug for ListDelimType

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

impl Default for ListDelimType

fn default() -> ListDelimType

impl Eq for ListDelimType

impl PartialEq for ListDelimType

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

impl StructuralPartialEq for ListDelimType

Auto Trait Implementations

impl Freeze for ListDelimType

impl RefUnwindSafe for ListDelimType

impl Send for ListDelimType

impl Sync for ListDelimType

impl Unpin for ListDelimType

impl UnsafeUnpin for ListDelimType

impl UnwindSafe for ListDelimType

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ListDelimType

fn from(t: T) -> T

Returns the argument unchanged.

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

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

impl<T, U> Into<U> for ListDelimType 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 ListDelimType where U: Into<T>,

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

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

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