pub struct PyProjectEntryPoint(/* private fields */);Implementations§
Source§impl PyProjectEntryPoint
impl PyProjectEntryPoint
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 PyProjectEntryPoint
impl Clone for PyProjectEntryPoint
Source§fn clone(&self) -> PyProjectEntryPoint
fn clone(&self) -> PyProjectEntryPoint
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 PyProjectEntryPoint
impl Debug for PyProjectEntryPoint
Source§impl Display for PyProjectEntryPoint
impl Display for PyProjectEntryPoint
Source§impl FromStr for PyProjectEntryPoint
impl FromStr for PyProjectEntryPoint
Source§impl Hash for PyProjectEntryPoint
impl Hash for PyProjectEntryPoint
Source§impl Ord for PyProjectEntryPoint
impl Ord for PyProjectEntryPoint
Source§fn cmp(&self, other: &PyProjectEntryPoint) -> Ordering
fn cmp(&self, other: &PyProjectEntryPoint) -> 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 PyProjectEntryPoint
impl PartialEq for PyProjectEntryPoint
Source§fn eq(&self, other: &PyProjectEntryPoint) -> bool
fn eq(&self, other: &PyProjectEntryPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PyProjectEntryPoint
impl PartialOrd for PyProjectEntryPoint
Source§impl TryFrom<&str> for PyProjectEntryPoint
impl TryFrom<&str> for PyProjectEntryPoint
impl Eq for PyProjectEntryPoint
impl StructuralPartialEq for PyProjectEntryPoint
Auto Trait Implementations§
impl Freeze for PyProjectEntryPoint
impl RefUnwindSafe for PyProjectEntryPoint
impl Send for PyProjectEntryPoint
impl Sync for PyProjectEntryPoint
impl Unpin for PyProjectEntryPoint
impl UnsafeUnpin for PyProjectEntryPoint
impl UnwindSafe for PyProjectEntryPoint
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