pub enum PythonPackageLayout {
Flat,
Src,
NamespacePackage,
}Expand description
Python package layout metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PythonPackageLayout
impl Clone for PythonPackageLayout
Source§fn clone(&self) -> PythonPackageLayout
fn clone(&self) -> PythonPackageLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PythonPackageLayout
impl Debug for PythonPackageLayout
Source§impl Display for PythonPackageLayout
impl Display for PythonPackageLayout
Source§impl FromStr for PythonPackageLayout
impl FromStr for PythonPackageLayout
Source§type Err = PythonModuleNameError
type Err = PythonModuleNameError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<PythonPackageLayout, <PythonPackageLayout as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PythonPackageLayout, <PythonPackageLayout as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PythonPackageLayout
impl Hash for PythonPackageLayout
Source§impl Ord for PythonPackageLayout
impl Ord for PythonPackageLayout
Source§fn cmp(&self, other: &PythonPackageLayout) -> Ordering
fn cmp(&self, other: &PythonPackageLayout) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for PythonPackageLayout
impl PartialEq for PythonPackageLayout
Source§fn eq(&self, other: &PythonPackageLayout) -> bool
fn eq(&self, other: &PythonPackageLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PythonPackageLayout
impl PartialOrd for PythonPackageLayout
impl Copy for PythonPackageLayout
impl Eq for PythonPackageLayout
impl StructuralPartialEq for PythonPackageLayout
Auto Trait Implementations§
impl Freeze for PythonPackageLayout
impl RefUnwindSafe for PythonPackageLayout
impl Send for PythonPackageLayout
impl Sync for PythonPackageLayout
impl Unpin for PythonPackageLayout
impl UnsafeUnpin for PythonPackageLayout
impl UnwindSafe for PythonPackageLayout
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