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