Struct oxygengine_core::ecs::hibitset::BitSetNot [−]
pub struct BitSetNot<A>(pub A)
where
A: BitSetLike;
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,
pub fn layer3(&self) -> usize
pub fn layer2(&self, usize) -> usize
pub fn layer1(&self, usize) -> usize
pub fn layer0(&self, i: usize) -> usize
pub fn contains(&self, i: u32) -> bool
pub fn get_from_layer(&self, layer: usize, idx: usize) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(self) -> BitIter<Self>ⓘ
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,
pub fn clone(&self) -> BitSetNot<A>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A> Debug for BitSetNot<A> where
A: Debug + BitSetLike,
impl<A> Debug for BitSetNot<A> where
A: Debug + BitSetLike,
impl<'a, A> IntoIterator for &'a BitSetNot<A> where
A: BitSetLike,
impl<'a, A> IntoIterator for &'a BitSetNot<A> where
A: BitSetLike,
impl<A> IntoIterator for BitSetNot<A> where
A: BitSetLike,
impl<A> IntoIterator for BitSetNot<A> where
A: BitSetLike,
impl<'a, A> Join for &'a BitSetNot<A> where
A: BitSetLike,
[src]
impl<'a, A> Join for &'a BitSetNot<A> where
A: BitSetLike,
[src]type Type = u32
Type of joined components.
type Value = ()
Type of joined storages.
type Mask = &'a BitSetNot<A>
Type of joined bit mask.
pub unsafe fn open(
self
) -> (<&'a BitSetNot<A> as Join>::Mask, <&'a BitSetNot<A> as Join>::Value)
[src]
self
) -> (<&'a BitSetNot<A> as Join>::Mask, <&'a BitSetNot<A> as Join>::Value)
pub unsafe fn get(
&mut <&'a BitSetNot<A> as Join>::Value,
id: u32
) -> <&'a BitSetNot<A> as Join>::Type
[src]
&mut <&'a BitSetNot<A> as Join>::Value,
id: u32
) -> <&'a BitSetNot<A> as Join>::Type
pub fn join(self) -> JoinIter<Self>ⓘ
[src]
pub fn maybe(self) -> MaybeJoin<Self>
[src]
pub fn is_unconstrained() -> bool
[src]
impl<A> Join for BitSetNot<A> where
A: BitSetLike,
[src]
impl<A> Join for BitSetNot<A> where
A: BitSetLike,
[src]type Type = u32
Type of joined components.
type Value = ()
Type of joined storages.
type Mask = BitSetNot<A>
Type of joined bit mask.
pub unsafe fn open(
self
) -> (<BitSetNot<A> as Join>::Mask, <BitSetNot<A> as Join>::Value)
[src]
self
) -> (<BitSetNot<A> as Join>::Mask, <BitSetNot<A> as Join>::Value)
pub unsafe fn get(
&mut <BitSetNot<A> as Join>::Value,
id: u32
) -> <BitSetNot<A> as Join>::Type
[src]
&mut <BitSetNot<A> as Join>::Value,
id: u32
) -> <BitSetNot<A> as Join>::Type
pub fn join(self) -> JoinIter<Self>ⓘ
[src]
pub fn maybe(self) -> MaybeJoin<Self>
[src]
pub fn is_unconstrained() -> bool
[src]
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> RefUnwindSafe for BitSetNot<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for BitSetNot<A> where
A: UnwindSafe,
impl<A> UnwindSafe for BitSetNot<A> where
A: UnwindSafe,