pub enum PyCodeInput {
Eval,
File,
}
Expand description
Compilation mode of PyCode::compile
Variants§
Eval
Python grammar for isolated expressions
File
Python grammar for sequences of statements as read from a file
Auto Trait Implementations§
impl Freeze for PyCodeInput
impl RefUnwindSafe for PyCodeInput
impl Send for PyCodeInput
impl Sync for PyCodeInput
impl Unpin for PyCodeInput
impl UnwindSafe for PyCodeInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more