pub struct PyProjectOptionalDependencyGroup(/* private fields */);Implementations§
Source§impl PyProjectOptionalDependencyGroup
impl PyProjectOptionalDependencyGroup
Sourcepub fn new(input: &str) -> Result<Self, PyProjectTextError>
pub fn new(input: &str) -> Result<Self, PyProjectTextError>
Creates non-empty pyproject metadata text.
§Errors
Returns PyProjectTextError::Empty when input is empty after trimming.
Trait Implementations§
Source§impl Clone for PyProjectOptionalDependencyGroup
impl Clone for PyProjectOptionalDependencyGroup
Source§fn clone(&self) -> PyProjectOptionalDependencyGroup
fn clone(&self) -> PyProjectOptionalDependencyGroup
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 Ord for PyProjectOptionalDependencyGroup
impl Ord for PyProjectOptionalDependencyGroup
Source§fn cmp(&self, other: &PyProjectOptionalDependencyGroup) -> Ordering
fn cmp(&self, other: &PyProjectOptionalDependencyGroup) -> 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 PyProjectOptionalDependencyGroup
impl PartialEq for PyProjectOptionalDependencyGroup
Source§fn eq(&self, other: &PyProjectOptionalDependencyGroup) -> bool
fn eq(&self, other: &PyProjectOptionalDependencyGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PyProjectOptionalDependencyGroup
impl PartialOrd for PyProjectOptionalDependencyGroup
Source§impl TryFrom<&str> for PyProjectOptionalDependencyGroup
impl TryFrom<&str> for PyProjectOptionalDependencyGroup
impl Eq for PyProjectOptionalDependencyGroup
impl StructuralPartialEq for PyProjectOptionalDependencyGroup
Auto Trait Implementations§
impl Freeze for PyProjectOptionalDependencyGroup
impl RefUnwindSafe for PyProjectOptionalDependencyGroup
impl Send for PyProjectOptionalDependencyGroup
impl Sync for PyProjectOptionalDependencyGroup
impl Unpin for PyProjectOptionalDependencyGroup
impl UnsafeUnpin for PyProjectOptionalDependencyGroup
impl UnwindSafe for PyProjectOptionalDependencyGroup
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