pub struct ExprAny {
pub expr: Box<Expr>,
}Expand description
Returns true if any item in a collection evaluates to true.
Evaluates its inner expression and returns true if at least one item is
truthy. Returns false for an empty collection.
§Examples
any([true, false, false]) // returns `true`
any([false, false]) // returns `false`
any([]) // returns `false`Fields§
§expr: Box<Expr>Expression that evaluates to a list.
Trait Implementations§
impl StructuralPartialEq for ExprAny
Auto Trait Implementations§
impl Freeze for ExprAny
impl RefUnwindSafe for ExprAny
impl Send for ExprAny
impl Sync for ExprAny
impl Unpin for ExprAny
impl UnwindSafe for ExprAny
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