Enum Quote

pub enum Quote

Kind of quote.

Variants

Double

Double quote: "

Single

Single quote: '

None

No quote

Trait Implementations

impl Clone for Quote

fn clone(&self) -> Self

impl Copy for Quote

impl Debug for Quote

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

impl Eq for Quote

impl PartialEq for Quote

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

impl StructuralPartialEq for Quote

Auto Trait Implementations

impl Freeze for Quote

impl RefUnwindSafe for Quote

impl Send for Quote

impl Sync for Quote

impl Unpin for Quote

impl UnsafeUnpin for Quote

impl UnwindSafe for Quote

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for Quote

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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

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

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