Struct PythonAbiTag
pub struct PythonAbiTag(/* private fields */);Implementations§
§impl PythonAbiTag
impl PythonAbiTag
pub fn new(input: &str) -> Result<PythonAbiTag, PythonVersionParseError>
pub fn new(input: &str) -> Result<PythonAbiTag, PythonVersionParseError>
Creates non-empty Python tag metadata.
§Errors
Returns PythonVersionParseError::Empty when input is empty after trimming.
Trait Implementations§
§impl Clone for PythonAbiTag
impl Clone for PythonAbiTag
§fn clone(&self) -> PythonAbiTag
fn clone(&self) -> PythonAbiTag
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 PythonAbiTag
impl Debug for PythonAbiTag
§impl Display for PythonAbiTag
impl Display for PythonAbiTag
§impl FromStr for PythonAbiTag
impl FromStr for PythonAbiTag
§type Err = PythonVersionParseError
type Err = PythonVersionParseError
The associated error which can be returned from parsing.
§fn from_str(input: &str) -> Result<PythonAbiTag, <PythonAbiTag as FromStr>::Err>
fn from_str(input: &str) -> Result<PythonAbiTag, <PythonAbiTag as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for PythonAbiTag
impl Hash for PythonAbiTag
§impl Ord for PythonAbiTag
impl Ord for PythonAbiTag
§impl PartialEq for PythonAbiTag
impl PartialEq for PythonAbiTag
§impl PartialOrd for PythonAbiTag
impl PartialOrd for PythonAbiTag
§impl TryFrom<&str> for PythonAbiTag
impl TryFrom<&str> for PythonAbiTag
§type Error = PythonVersionParseError
type Error = PythonVersionParseError
The type returned in the event of a conversion error.
§fn try_from(
value: &str,
) -> Result<PythonAbiTag, <PythonAbiTag as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<PythonAbiTag, <PythonAbiTag as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for PythonAbiTag
impl StructuralPartialEq for PythonAbiTag
Auto Trait Implementations§
impl Freeze for PythonAbiTag
impl RefUnwindSafe for PythonAbiTag
impl Send for PythonAbiTag
impl Sync for PythonAbiTag
impl Unpin for PythonAbiTag
impl UnsafeUnpin for PythonAbiTag
impl UnwindSafe for PythonAbiTag
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