Type Alias bevy_query_ext::OrBool
source · pub type OrBool<T, const V: bool> = ModQ<OrBoolQ<T, V>>;
Expand description
When T
implements Borrow
for bool
, this will return that value or the specified value if T has no result.
It’s unlikely you’ll use this by itself, see AsDerefOrBool
for example of its use.
Aliased Type§
struct OrBool<T, const V: bool>(/* private fields */);