pub struct PytestMarkerName(/* private fields */);Implementations§
Source§impl PytestMarkerName
impl PytestMarkerName
Sourcepub fn new(input: &str) -> Result<Self, PytestNameError>
pub fn new(input: &str) -> Result<Self, PytestNameError>
Creates pytest identifier metadata.
§Errors
Returns PytestNameError::Identifier when input is not an ASCII-safe Python identifier.
Trait Implementations§
Source§impl Clone for PytestMarkerName
impl Clone for PytestMarkerName
Source§fn clone(&self) -> PytestMarkerName
fn clone(&self) -> PytestMarkerName
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 PytestMarkerName
impl Debug for PytestMarkerName
Source§impl Display for PytestMarkerName
impl Display for PytestMarkerName
Source§impl FromStr for PytestMarkerName
impl FromStr for PytestMarkerName
Source§impl Hash for PytestMarkerName
impl Hash for PytestMarkerName
Source§impl Ord for PytestMarkerName
impl Ord for PytestMarkerName
Source§fn cmp(&self, other: &PytestMarkerName) -> Ordering
fn cmp(&self, other: &PytestMarkerName) -> 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 PytestMarkerName
impl PartialEq for PytestMarkerName
Source§fn eq(&self, other: &PytestMarkerName) -> bool
fn eq(&self, other: &PytestMarkerName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PytestMarkerName
impl PartialOrd for PytestMarkerName
Source§impl TryFrom<&str> for PytestMarkerName
impl TryFrom<&str> for PytestMarkerName
impl Eq for PytestMarkerName
impl StructuralPartialEq for PytestMarkerName
Auto Trait Implementations§
impl Freeze for PytestMarkerName
impl RefUnwindSafe for PytestMarkerName
impl Send for PytestMarkerName
impl Sync for PytestMarkerName
impl Unpin for PytestMarkerName
impl UnsafeUnpin for PytestMarkerName
impl UnwindSafe for PytestMarkerName
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