[−][src]Enum pyoxidizerlib::py_packaging::fsscan::PythonFileResource
Represents a Python resource backed by the filesystem.
Variants
Fields of Source
package: String
Python package name of this resource.
For resources in the root, this will likely be the resource name.
For modules that are packages (e.g. __init__.py
or __init__.pyc
files, this will be the same as full_name
.
For regular modules, this will be all but the final component in
full_name
.
stem: String
Final "stem" name of this resource.
This is derived from the file name's basename.
For resources that define packages, this is an empty string.
full_name: String
Full resource name of this resource.
This is typically how importlib
refers to the resource.
e.g. foo.bar
.
For resources that are packages, this is equivalent to package
.
For non-package resources, this is package.stem
.
path: PathBuf
Filesystem path to this resource.
Resource(FileBasedResource)
Fields of EggFile
path: PathBuf
Fields of PthFile
path: PathBuf
Trait Implementations
impl Debug for PythonFileResource
[src]
impl PartialEq<PythonFileResource> for PythonFileResource
[src]
fn eq(&self, other: &PythonFileResource) -> bool
[src]
fn ne(&self, other: &PythonFileResource) -> bool
[src]
impl StructuralPartialEq for PythonFileResource
[src]
impl<'_> TryFrom<&'_ PythonFileResource> for PythonResource
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(resource: &PythonFileResource) -> Result<PythonResource>
[src]
Auto Trait Implementations
impl RefUnwindSafe for PythonFileResource
impl Send for PythonFileResource
impl Sync for PythonFileResource
impl Unpin for PythonFileResource
impl UnwindSafe for PythonFileResource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,