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 moresourceimpl 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
Converts to this type from the input type.
sourceimpl<'a> From<PythonPathExtension> for PythonResource<'a>
impl<'a> From<PythonPathExtension> for PythonResource<'a>
sourcefn from(e: PythonPathExtension) -> Self
fn from(e: PythonPathExtension) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PythonPathExtension> for PythonPathExtension
impl PartialEq<PythonPathExtension> for PythonPathExtension
sourcefn eq(&self, other: &PythonPathExtension) -> bool
fn eq(&self, other: &PythonPathExtension) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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