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