[][src]Enum rustpython_vm::format::FormatPreconversor

pub enum FormatPreconversor {
    Str,
    Repr,
    Ascii,
    Bytes,
}

Variants

Str
Repr
Ascii
Bytes

Methods

impl FormatPreconversor[src]

pub fn from_char(c: char) -> Option<FormatPreconversor>[src]

pub fn from_string(text: &str) -> Option<FormatPreconversor>[src]

pub fn parse_and_consume(text: &str) -> (Option<FormatPreconversor>, &str)[src]

Trait Implementations

impl Clone for FormatPreconversor[src]

impl Copy for FormatPreconversor[src]

impl Debug for FormatPreconversor[src]

impl PartialEq<FormatPreconversor> for FormatPreconversor[src]

impl StructuralPartialEq for FormatPreconversor[src]

Auto Trait Implementations

impl RefUnwindSafe for FormatPreconversor

impl Send for FormatPreconversor

impl Sync for FormatPreconversor

impl Unpin for FormatPreconversor

impl UnwindSafe for FormatPreconversor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,