pub struct PyenvRoot { /* private fields */ }
Expand description
A root pyenv
directory.
Implementations§
Source§impl PyenvRoot
impl PyenvRoot
Sourcepub fn new() -> Result<Self, PyenvRootError>
pub fn new() -> Result<Self, PyenvRootError>
Returns what $(pyenv root)
would return.
That is, $PYENV_ROOT
or $HOME/.pyenv
if they exist.
See PyenvRootError
for possible errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PyenvRoot
impl RefUnwindSafe for PyenvRoot
impl Send for PyenvRoot
impl Sync for PyenvRoot
impl Unpin for PyenvRoot
impl UnwindSafe for PyenvRoot
Blanket Implementations§
Source§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
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