Struct PythonVirtualEnvPath
pub struct PythonVirtualEnvPath(/* private fields */);Expand description
Virtual environment path metadata.
Implementations§
§impl PythonVirtualEnvPath
impl PythonVirtualEnvPath
pub fn new(input: &str) -> Result<PythonVirtualEnvPath, PythonVirtualEnvError>
pub fn new(input: &str) -> Result<PythonVirtualEnvPath, PythonVirtualEnvError>
Creates path metadata.
§Errors
Returns PythonVirtualEnvError::Empty when input is empty after trimming.
Trait Implementations§
§impl Clone for PythonVirtualEnvPath
impl Clone for PythonVirtualEnvPath
§fn clone(&self) -> PythonVirtualEnvPath
fn clone(&self) -> PythonVirtualEnvPath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PythonVirtualEnvPath
impl Debug for PythonVirtualEnvPath
§impl Display for PythonVirtualEnvPath
impl Display for PythonVirtualEnvPath
§impl Hash for PythonVirtualEnvPath
impl Hash for PythonVirtualEnvPath
§impl Ord for PythonVirtualEnvPath
impl Ord for PythonVirtualEnvPath
§fn cmp(&self, other: &PythonVirtualEnvPath) -> Ordering
fn cmp(&self, other: &PythonVirtualEnvPath) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for PythonVirtualEnvPath
impl PartialEq for PythonVirtualEnvPath
§impl PartialOrd for PythonVirtualEnvPath
impl PartialOrd for PythonVirtualEnvPath
impl Eq for PythonVirtualEnvPath
impl StructuralPartialEq for PythonVirtualEnvPath
Auto Trait Implementations§
impl Freeze for PythonVirtualEnvPath
impl RefUnwindSafe for PythonVirtualEnvPath
impl Send for PythonVirtualEnvPath
impl Sync for PythonVirtualEnvPath
impl Unpin for PythonVirtualEnvPath
impl UnsafeUnpin for PythonVirtualEnvPath
impl UnwindSafe for PythonVirtualEnvPath
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