Enum cfg_expr::expr::Func [−][src]
Expand description
A predicate function, used to combine 1 or more predicates into a single value
Variants
not()
with a configuration predicate. It is true if its predicate
is false and false if its predicate is true.
all()
with a comma separated list of configuration predicates. It
is false if at least one predicate is false. If there are no predicates,
it is true.
The associated usize
is the number of predicates inside the all()
.
Tuple Fields of All
0: usize
any()
with a comma separated list of configuration predicates. It
is true if at least one predicate is true. If there are no predicates,
it is false.
The associated usize
is the number of predicates inside the any()
.
Tuple Fields of Any
0: usize
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Func
impl UnwindSafe for Func
Blanket Implementations
Mutably borrows from an owned value. Read more