Module constant
predicates
2.1.5
Module constant
Module Items
Structs
Functions
In crate predicates
Modules
boolean
constant
float
function
iter
name
ord
path
prelude
reflection
str
Structs
BoxPredicate
Traits
Predicate
PredicateBoxExt
predicates
Module
constant
Copy item path
Settings
Help
Summary
Source
Expand description
Definition of a constant (always true or always false)
Predicate
.
Structs
§
Boolean
Predicate
Predicate that always returns a constant (boolean) result.
Functions
§
always
Creates a new
Predicate
that always returns
true
.
never
Creates a new
Predicate
that always returns
false
.