Struct PyProjectEntryPoint
pub struct PyProjectEntryPoint(/* private fields */);Implementations§
§impl PyProjectEntryPoint
impl PyProjectEntryPoint
pub fn new(input: &str) -> Result<PyProjectEntryPoint, PyProjectTextError>
pub fn new(input: &str) -> Result<PyProjectEntryPoint, PyProjectTextError>
Creates non-empty pyproject metadata text.
§Errors
Returns PyProjectTextError::Empty when input is empty after trimming.
Trait Implementations§
§impl Clone for PyProjectEntryPoint
impl Clone for PyProjectEntryPoint
§fn clone(&self) -> PyProjectEntryPoint
fn clone(&self) -> PyProjectEntryPoint
Returns a duplicate 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 more§impl Debug for PyProjectEntryPoint
impl Debug for PyProjectEntryPoint
§impl Display for PyProjectEntryPoint
impl Display for PyProjectEntryPoint
§impl FromStr for PyProjectEntryPoint
impl FromStr for PyProjectEntryPoint
§type Err = PyProjectTextError
type Err = PyProjectTextError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<PyProjectEntryPoint, <PyProjectEntryPoint as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PyProjectEntryPoint, <PyProjectEntryPoint as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PyProjectEntryPoint
impl Hash for PyProjectEntryPoint
§impl Ord for PyProjectEntryPoint
impl Ord for PyProjectEntryPoint
§fn cmp(&self, other: &PyProjectEntryPoint) -> Ordering
fn cmp(&self, other: &PyProjectEntryPoint) -> Ordering
1.21.0 · 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
§impl PartialEq for PyProjectEntryPoint
impl PartialEq for PyProjectEntryPoint
§impl PartialOrd for PyProjectEntryPoint
impl PartialOrd for PyProjectEntryPoint
§impl TryFrom<&str> for PyProjectEntryPoint
impl TryFrom<&str> for PyProjectEntryPoint
§type Error = PyProjectTextError
type Error = PyProjectTextError
The type returned in the event of a conversion error.
§fn try_from(
value: &str,
) -> Result<PyProjectEntryPoint, <PyProjectEntryPoint as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<PyProjectEntryPoint, <PyProjectEntryPoint as TryFrom<&str>>::Error>
Performs the conversion.
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