pub enum PythonSource {
Project,
Active,
Default,
}Expand description
Where a Python environment comes from.
Variants§
Project
The project’s own (scripts/.venv).
Active
The one activated in the shell the app started from ($VIRTUAL_ENV).
Default
The app’s default environment (for projects that have none).
Implementations§
Trait Implementations§
Source§impl Clone for PythonSource
impl Clone for PythonSource
impl Copy for PythonSource
Source§impl Debug for PythonSource
impl Debug for PythonSource
impl Eq for PythonSource
Source§impl PartialEq for PythonSource
impl PartialEq for PythonSource
impl StructuralPartialEq for PythonSource
Auto Trait Implementations§
impl Forget for PythonSource
impl Freeze for PythonSource
impl Move for PythonSource
impl RefUnwindSafe for PythonSource
impl Send for PythonSource
impl Sync for PythonSource
impl Unpin for PythonSource
impl UnsafeUnpin for PythonSource
impl UnwindSafe for PythonSource
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