Struct python_packaging::resource::PythonPathExtension
source · [−]pub struct PythonPathExtension {
pub data: FileData,
}
Expand description
Represents a Python path extension.
i.e. a .pth file.
Fields
data: FileData
Content of the .pth file.
Implementations
Trait Implementations
sourceimpl Clone for PythonPathExtension
impl Clone for PythonPathExtension
sourcefn clone(&self) -> PythonPathExtension
fn clone(&self) -> PythonPathExtension
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PythonPathExtension
impl Debug for PythonPathExtension
sourceimpl<'a> From<&'a PythonPathExtension> for PythonResource<'a>
impl<'a> From<&'a PythonPathExtension> for PythonResource<'a>
sourcefn from(e: &'a PythonPathExtension) -> Self
fn from(e: &'a PythonPathExtension) -> Self
Performs the conversion.
sourceimpl<'a> From<PythonPathExtension> for PythonResource<'a>
impl<'a> From<PythonPathExtension> for PythonResource<'a>
sourcefn from(e: PythonPathExtension) -> Self
fn from(e: PythonPathExtension) -> Self
Performs the conversion.
sourceimpl PartialEq<PythonPathExtension> for PythonPathExtension
impl PartialEq<PythonPathExtension> for PythonPathExtension
sourcefn eq(&self, other: &PythonPathExtension) -> bool
fn eq(&self, other: &PythonPathExtension) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PythonPathExtension) -> bool
fn ne(&self, other: &PythonPathExtension) -> bool
This method tests for !=
.
impl StructuralPartialEq for PythonPathExtension
Auto Trait Implementations
impl RefUnwindSafe for PythonPathExtension
impl Send for PythonPathExtension
impl Sync for PythonPathExtension
impl Unpin for PythonPathExtension
impl UnwindSafe for PythonPathExtension
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more