pub struct Paths {
pub executable: String,
pub base_executable: String,
pub prefix: String,
pub base_prefix: String,
pub exec_prefix: String,
pub base_exec_prefix: String,
pub stdlib_dir: Option<String>,
pub module_search_paths: Vec<String>,
}Expand description
Path configuration computed at runtime (like PyConfig path outputs)
Fields§
§executable: Stringsys.executable
base_executable: Stringsys._base_executable (original interpreter in venv)
prefix: Stringsys.prefix
base_prefix: Stringsys.base_prefix
exec_prefix: Stringsys.exec_prefix
base_exec_prefix: Stringsys.base_exec_prefix
stdlib_dir: Option<String>sys._stdlib_dir
module_search_paths: Vec<String>Computed module_search_paths (complete sys.path)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Paths
impl RefUnwindSafe for Paths
impl Send for Paths
impl Sync for Paths
impl Unpin for Paths
impl UnsafeUnpin for Paths
impl UnwindSafe for Paths
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more