mockall

Module predicate

Expand description

Predicate factories

Modules§

  • f64 Predicate factories
  • Path Predicate factories
  • str Predicate factories

Functions§

  • Creates a new Predicate that always returns true.
  • Creates a new predicate that will return true when the given variable is equal to a pre-defined value.
  • Creates a new predicate that wraps over the given function. The returned type implements Predicate and therefore has all combinators available to it.
  • Creates a new predicate that will return true when the given variable is greater than or equal to a pre-defined value.
  • Creates a new predicate that will return true when the given variable is greater than a pre-defined value.
  • Creates a new predicate that will return true when the given variable is contained with the set of items provided.
  • Creates a new predicate that will return true when the given variable is contained with the set of items provided.
  • Creates a new predicate that will return true when the given variable is less than or equal to a pre-defined value.
  • Creates a new predicate that will return true when the given variable is less than a pre-defined value.
  • Creates a new predicate that will return true when the given variable is not equal to a pre-defined value.
  • Creates a new Predicate that always returns false.