Struct oxygengine_core::ecs::hibitset::BitSetXor [−]
pub struct BitSetXor<A, B>(pub A, pub B)
where
A: BitSetLike,
B: BitSetLike;
Expand description
BitSetXor takes two BitSetLike items, and merges the masks
returning a new virtual set, which represents an merged of the
two original sets.
Trait Implementations
impl<A, B, T> BitAnd<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<A, B, T> BitAnd<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<'a, A, B, T> BitAnd<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<'a, A, B, T> BitAnd<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<'a, A, B, T> BitOr<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<'a, A, B, T> BitOr<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<A, B, T> BitOr<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<A, B, T> BitOr<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<A, B> BitSetLike for BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike,
impl<A, B> BitSetLike for BitSetXor<A, B> where
A: BitSetLike,
B: 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) -> usizeGets the usize corresponding to layer and index. Read more
impl<'a, A, B, T> BitXor<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<'a, A, B, T> BitXor<T> for &'a BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<A, B, T> BitXor<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike,
impl<A, B, T> BitXor<T> for BitSetXor<A, B> where
T: BitSetLike,
A: BitSetLike,
B: BitSetLike, impl<A, B> Clone for BitSetXor<A, B> where
A: Clone + BitSetLike,
B: Clone + BitSetLike,
impl<A, B> Clone for BitSetXor<A, B> where
A: Clone + BitSetLike,
B: Clone + BitSetLike, impl<A, B> Debug for BitSetXor<A, B> where
A: Debug + BitSetLike,
B: Debug + BitSetLike,
impl<A, B> Debug for BitSetXor<A, B> where
A: Debug + BitSetLike,
B: Debug + BitSetLike, impl<'a, A, B> IntoIterator for &'a BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike,
impl<'a, A, B> IntoIterator for &'a BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike, The type of the elements being iterated over.
pub fn into_iter(self) -> <&'a BitSetXor<A, B> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <&'a BitSetXor<A, B> as IntoIterator>::IntoIterCreates an iterator from a value. Read more
impl<A, B> IntoIterator for BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike,
impl<A, B> IntoIterator for BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike, The type of the elements being iterated over.
pub fn into_iter(self) -> <BitSetXor<A, B> as IntoIterator>::IntoIter
pub fn into_iter(self) -> <BitSetXor<A, B> as IntoIterator>::IntoIterCreates 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
impl<A, B> Not for BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike,
impl<A, B> Not for BitSetXor<A, B> where
A: BitSetLike,
B: BitSetLike, Auto Trait Implementations
impl<A, B> RefUnwindSafe for BitSetXor<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe, impl<A, B> UnwindSafe for BitSetXor<A, B> where
A: UnwindSafe,
B: 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) -> TypeIdMutably borrows from an owned value. Read more