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