pub enum PytestFileKind {
TestModule,
Conftest,
FixtureModule,
}Expand description
pytest file-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PytestFileKind
impl Clone for PytestFileKind
Source§fn clone(&self) -> PytestFileKind
fn clone(&self) -> PytestFileKind
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 PytestFileKind
impl Debug for PytestFileKind
Source§impl Display for PytestFileKind
impl Display for PytestFileKind
Source§impl FromStr for PytestFileKind
impl FromStr for PytestFileKind
Source§impl Hash for PytestFileKind
impl Hash for PytestFileKind
Source§impl Ord for PytestFileKind
impl Ord for PytestFileKind
Source§fn cmp(&self, other: &PytestFileKind) -> Ordering
fn cmp(&self, other: &PytestFileKind) -> 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 PytestFileKind
impl PartialEq for PytestFileKind
Source§fn eq(&self, other: &PytestFileKind) -> bool
fn eq(&self, other: &PytestFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PytestFileKind
impl PartialOrd for PytestFileKind
impl Copy for PytestFileKind
impl Eq for PytestFileKind
impl StructuralPartialEq for PytestFileKind
Auto Trait Implementations§
impl Freeze for PytestFileKind
impl RefUnwindSafe for PytestFileKind
impl Send for PytestFileKind
impl Sync for PytestFileKind
impl Unpin for PytestFileKind
impl UnsafeUnpin for PytestFileKind
impl UnwindSafe for PytestFileKind
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