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