Enum StrContextValue
enum StrContextValue
See StrContext
Variants
-
CharLiteral(char) A
chartoken-
StringLiteral(&'static str) A [
&str] token-
Description(&'static str) A description of what was being parsed
Implementations
impl Clone for StrContextValue
fn clone(self: &Self) -> StrContextValue
impl Debug for StrContextValue
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for StrContextValue
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for StrContextValue
impl Freeze for StrContextValue
impl From for StrContextValue
fn from(inner: char) -> Self
impl From for StrContextValue
fn from(inner: &'static str) -> Self
impl PartialEq for StrContextValue
fn eq(self: &Self, other: &StrContextValue) -> bool
impl RefUnwindSafe for StrContextValue
impl Send for StrContextValue
impl StructuralPartialEq for StrContextValue
impl Sync for StrContextValue
impl Unpin for StrContextValue
impl UnsafeUnpin for StrContextValue
impl UnwindSafe for StrContextValue
impl<T> Any for StrContextValue
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for StrContextValue
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for StrContextValue
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for StrContextValue
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for StrContextValue
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for StrContextValue
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for StrContextValue
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for StrContextValue
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>