Struct oxygengine_core::ecs::hibitset::BitSetAll [−]
pub struct BitSetAll;
Expand description
BitSetAll
is a bitset with all bits set. Essentially the same as
BitSetNot(BitSet::new())
but without any allocation.
Trait Implementations
impl<T> BitAnd<T> for BitSetAll where
T: BitSetLike,
impl<T> BitAnd<T> for BitSetAll where
T: BitSetLike,
impl<'a, T> BitAnd<T> for &'a BitSetAll where
T: BitSetLike,
impl<'a, T> BitAnd<T> for &'a BitSetAll where
T: BitSetLike,
impl<'a, T> BitOr<T> for &'a BitSetAll where
T: BitSetLike,
impl<'a, T> BitOr<T> for &'a BitSetAll where
T: BitSetLike,
impl<T> BitOr<T> for BitSetAll where
T: BitSetLike,
impl<T> BitOr<T> for BitSetAll where
T: BitSetLike,
impl BitSetLike for BitSetAll
impl BitSetLike for BitSetAll
Return a usize
where each bit represents if any word in layer2
has been set. Read more
Return the usize
from the array of usizes that indicates if any
bit has been set in layer1 Read more
Return the usize
from the array of usizes that indicates if any
bit has been set in layer0 Read more
Return a usize
that maps to the direct 1:1 association with
each index of the set Read more
fn get_from_layer(&self, layer: usize, idx: usize) -> usize
fn get_from_layer(&self, layer: usize, idx: usize) -> usize
Gets the usize
corresponding to layer and index. Read more
impl<'a, T> BitXor<T> for &'a BitSetAll where
T: BitSetLike,
impl<'a, T> BitXor<T> for &'a BitSetAll where
T: BitSetLike,
impl<T> BitXor<T> for BitSetAll where
T: BitSetLike,
impl<T> BitXor<T> for BitSetAll where
T: BitSetLike,
impl<'a> IntoIterator for &'a BitSetAll
impl<'a> IntoIterator for &'a BitSetAll
impl IntoIterator for BitSetAll
impl IntoIterator for BitSetAll
Auto Trait Implementations
impl RefUnwindSafe for BitSetAll
impl UnwindSafe for BitSetAll
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more