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§
Source§impl Clone for PythonPathExtension
impl Clone for PythonPathExtension
Source§fn clone(&self) -> PythonPathExtension
fn clone(&self) -> PythonPathExtension
Returns a copy 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 moreSource§impl Debug for PythonPathExtension
impl Debug for PythonPathExtension
Source§impl<'a> From<&'a PythonPathExtension> for PythonResource<'a>
impl<'a> From<&'a PythonPathExtension> for PythonResource<'a>
Source§fn from(e: &'a PythonPathExtension) -> Self
fn from(e: &'a PythonPathExtension) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PythonPathExtension> for PythonResource<'a>
impl<'a> From<PythonPathExtension> for PythonResource<'a>
Source§fn from(e: PythonPathExtension) -> Self
fn from(e: PythonPathExtension) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PythonPathExtension
impl PartialEq for PythonPathExtension
impl StructuralPartialEq for PythonPathExtension
Auto Trait Implementations§
impl Freeze for PythonPathExtension
impl RefUnwindSafe for PythonPathExtension
impl Send for PythonPathExtension
impl Sync for PythonPathExtension
impl Unpin for PythonPathExtension
impl UnwindSafe for PythonPathExtension
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