Trait shoulda_core::Shoulda [−][src]
pub trait Shoulda: Debug { fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool; fn should(&self) -> Should<'_, Self>
where
Self: Sized, { ... } }
Required methods
fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]Provided methods
Implementations on Foreign Types
impl<T> Shoulda for Vec<T> where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for Vec<T> where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for VecDeque<T> where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for VecDeque<T> where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for &[T] where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for &[T] where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for [T] where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for [T] where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T, K> Shoulda for HashMap<T, K> where
T: Debug,
T: Shoulda,
T: Eq,
T: Hash,
K: Debug,
K: Shoulda,
[src]
impl<T, K> Shoulda for HashMap<T, K> where
T: Debug,
T: Shoulda,
T: Eq,
T: Hash,
K: Debug,
K: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for HashSet<T> where
T: Debug,
T: Shoulda,
T: Eq,
T: Hash,
[src]
impl<T> Shoulda for HashSet<T> where
T: Debug,
T: Shoulda,
T: Eq,
T: Hash,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Range<T> where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for Range<T> where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for RangeInclusive<T> where
T: Debug,
T: Shoulda,
[src]
impl<T> Shoulda for RangeInclusive<T> where
T: Debug,
T: Shoulda,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for PhantomData<T>
[src]
impl<T> Shoulda for PhantomData<T>
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, _: &Self) -> bool
[src]
impl<K> Shoulda for Option<K> where
K: Shoulda,
K: Debug,
[src]
impl<K> Shoulda for Option<K> where
K: Shoulda,
K: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<L, K> Shoulda for Result<L, K> where
L: Shoulda,
L: Debug,
K: Shoulda,
K: Debug,
[src]
impl<L, K> Shoulda for Result<L, K> where
L: Shoulda,
L: Debug,
K: Shoulda,
K: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<K> Shoulda for Cow<'_, K> where
K: Shoulda,
K: Debug,
K: ToOwned,
<K as ToOwned>::Owned: Debug,
K: ?Sized,
[src]
impl<K> Shoulda for Cow<'_, K> where
K: Shoulda,
K: Debug,
K: ToOwned,
<K as ToOwned>::Owned: Debug,
K: ?Sized,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Box<T> where
T: Shoulda,
T: ?Sized,
[src]
impl<T> Shoulda for Box<T> where
T: Shoulda,
T: ?Sized,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Cell<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
T: Copy,
[src]
impl<T> Shoulda for Cell<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
T: Copy,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for RefCell<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]
impl<T> Shoulda for RefCell<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Wrapping<T> where
T: Shoulda,
T: Debug,
[src]
impl<T> Shoulda for Wrapping<T> where
T: Shoulda,
T: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Rc<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]
impl<T> Shoulda for Rc<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for Arc<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]
impl<T> Shoulda for Arc<T> where
T: Shoulda,
T: ?Sized,
T: Debug,
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for String
[src]
impl Shoulda for String
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for CString
[src]
impl Shoulda for CString
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for CStr
[src]
impl Shoulda for CStr
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for OsString
[src]
impl Shoulda for OsString
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for OsStr
[src]
impl Shoulda for OsStr
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for FileType
[src]
impl Shoulda for FileType
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Permissions
[src]
impl Shoulda for Permissions
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Ipv4Addr
[src]
impl Shoulda for Ipv4Addr
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Ipv6Addr
[src]
impl Shoulda for Ipv6Addr
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for SocketAddrV4
[src]
impl Shoulda for SocketAddrV4
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for SocketAddrV6
[src]
impl Shoulda for SocketAddrV6
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Path
[src]
impl Shoulda for Path
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for PathBuf
[src]
impl Shoulda for PathBuf
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for ThreadId
[src]
impl Shoulda for ThreadId
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Duration
[src]
impl Shoulda for Duration
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for Instant
[src]
impl Shoulda for Instant
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for SystemTime
[src]
impl Shoulda for SystemTime
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for bool
[src]
impl Shoulda for bool
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for u128
[src]
impl Shoulda for u128
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for i128
[src]
impl Shoulda for i128
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for usize
[src]
impl Shoulda for usize
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for isize
[src]
impl Shoulda for isize
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroU8
[src]
impl Shoulda for NonZeroU8
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroI8
[src]
impl Shoulda for NonZeroI8
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroU16
[src]
impl Shoulda for NonZeroU16
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroI16
[src]
impl Shoulda for NonZeroI16
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroU32
[src]
impl Shoulda for NonZeroU32
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroI32
[src]
impl Shoulda for NonZeroI32
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroU64
[src]
impl Shoulda for NonZeroU64
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroI64
[src]
impl Shoulda for NonZeroI64
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroU128
[src]
impl Shoulda for NonZeroU128
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroI128
[src]
impl Shoulda for NonZeroI128
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroUsize
[src]
impl Shoulda for NonZeroUsize
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl Shoulda for NonZeroIsize
[src]
impl Shoulda for NonZeroIsize
[src]fn test_eq<FloatDiff: FloatDiffProvider>(&self, other: &Self) -> bool
[src]
impl<T> Shoulda for &T where
T: Shoulda,
[src]
impl<T> Shoulda for &T where
T: Shoulda,
[src]