◐ Shell
clean mode source ↗

RunMode in rustpython - Rust

Skip to main content

pub enum RunMode {
    Script(String),
    Command(String),
    Module(String),
    InstallPip(InstallPipMode),
    Repl,
}

Variants§

§

Script(String)

§

Command(String)

§

Module(String)

§

InstallPip(InstallPipMode)

§

Repl

Auto Trait Implementations§

§

impl Freeze for RunMode

§

impl RefUnwindSafe for RunMode

§

impl Send for RunMode

§

impl Sync for RunMode

§

impl Unpin for RunMode

§

impl UnsafeUnpin for RunMode

§

impl UnwindSafe for RunMode

Blanket Implementations§

Source§

impl<T> Any for T

where T: 'static + ?Sized,

Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T

where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T

where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T

Source§

impl<T> BorrowMut<T> for T

Source§

impl<T, U> ExactFrom<T> for U

Source§

fn exact_from(value: T) -> U

Source§

impl<T, U> ExactInto<U> for T

Source§

fn exact_into(self) -> U

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T

where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

impl<T, U> OverflowingInto<U> for T

Source§

fn overflowing_into(self) -> (U, bool)

Source§

impl<T, U> RoundingInto<U> for T

Source§

fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)

Source§

impl<T> Same for T

Source§

impl<T, U> SaturatingInto<U> for T

Source§

fn saturating_into(self) -> U

Source§

impl<T, U> TryFrom<U> for T

where U: Into<T>,

Source§

impl<T, U> TryInto<U> for T

Source§

impl<T, U> WrappingInto<U> for T

Source§

fn wrapping_into(self) -> U

Source§

impl<T> PyThreadingConstraint for T