Struct oxygengine_core::ecs::hibitset::BitSetNot [−]
pub struct BitSetNot<A>(pub A)
where
A: BitSetLike;
Expand description
BitSetNot
takes a BitSetLike
item, and produced an inverted virtual set.
Note: the implementation is sub-optimal because layers 1-3 are not active.
Trait Implementations
impl<A, T> BitAnd<T> for BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A, T> BitAnd<T> for BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitAnd<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitAnd<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitOr<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitOr<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A, T> BitOr<T> for BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A, T> BitOr<T> for BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A> BitSetLike for BitSetNot<A> where
A: BitSetLike,
impl<A> BitSetLike for BitSetNot<A> where
A: BitSetLike,
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 BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A, T> BitXor<T> for BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitXor<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<'a, A, T> BitXor<T> for &'a BitSetNot<A> where
T: BitSetLike,
A: BitSetLike,
impl<A> Clone for BitSetNot<A> where
A: Clone + BitSetLike,
impl<A> Clone for BitSetNot<A> where
A: Clone + BitSetLike,
impl<A> Debug for BitSetNot<A> where
A: Debug + BitSetLike,
impl<A> Debug for BitSetNot<A> where
A: Debug + BitSetLike,
impl<A> IntoIterator for BitSetNot<A> where
A: BitSetLike,
impl<A> IntoIterator for BitSetNot<A> where
A: BitSetLike,
impl<'a, A> IntoIterator for &'a BitSetNot<A> where
A: BitSetLike,
impl<'a, A> IntoIterator for &'a BitSetNot<A> where
A: BitSetLike,
The type of the elements being iterated over.
pub fn into_iter(self) -> <&'a BitSetNot<A> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <&'a BitSetNot<A> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Open this join by returning the mask and the storages. Read more
Get a joined component value by a given index. Read more
Create a joined iterator over the contents.
Returns a Join
-able structure that yields all indices, returning
None
for all missing elements and Some(T)
for found elements. Read more
If this Join
typically returns all indices in the mask, then iterating
over only it or combined with other joins that are also dangerous
will cause the JoinIter
/ParJoin
to go through all indices which
is usually not what is wanted and will kill performance. Read more
Open this join by returning the mask and the storages. Read more
Get a joined component value by a given index. Read more
Create a joined iterator over the contents.
Returns a Join
-able structure that yields all indices, returning
None
for all missing elements and Some(T)
for found elements. Read more
If this Join
typically returns all indices in the mask, then iterating
over only it or combined with other joins that are also dangerous
will cause the JoinIter
/ParJoin
to go through all indices which
is usually not what is wanted and will kill performance. Read more
impl<'a, A> Not for &'a BitSetNot<A> where
A: BitSetLike,
impl<'a, A> Not for &'a BitSetNot<A> where
A: BitSetLike,
Auto Trait Implementations
impl<A> RefUnwindSafe for BitSetNot<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for BitSetNot<A> where
A: UnwindSafe,
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