[−]Struct oxygengine_core::ecs::hibitset::BitSetNot
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, A, T> BitAnd<T> for &'a BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetAnd<&'a BitSetNot<A>, T>
The resulting type after applying the &
operator.
fn bitand(self, rhs: T) -> <&'a BitSetNot<A> as BitAnd<T>>::Output
impl<A, T> BitAnd<T> for BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetAnd<BitSetNot<A>, T>
The resulting type after applying the &
operator.
fn bitand(self, rhs: T) -> <BitSetNot<A> as BitAnd<T>>::Output
impl<'a, A, T> BitOr<T> for &'a BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetOr<&'a BitSetNot<A>, T>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> <&'a BitSetNot<A> as BitOr<T>>::Output
impl<A, T> BitOr<T> for BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetOr<BitSetNot<A>, T>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> <BitSetNot<A> as BitOr<T>>::Output
impl<A> BitSetLike for BitSetNot<A> where
A: BitSetLike,
A: BitSetLike,
fn layer3(&self) -> usize
fn layer2(&self, usize) -> usize
fn layer1(&self, usize) -> usize
fn layer0(&self, i: usize) -> usize
fn contains(&self, i: u32) -> bool
fn get_from_layer(&self, layer: usize, idx: usize) -> usize
fn is_empty(&self) -> bool
fn iter(self) -> BitIter<Self>ⓘ
impl<'a, A, T> BitXor<T> for &'a BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetXor<&'a BitSetNot<A>, T>
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: T) -> <&'a BitSetNot<A> as BitXor<T>>::Output
impl<A, T> BitXor<T> for BitSetNot<A> where
A: BitSetLike,
T: BitSetLike,
A: BitSetLike,
T: BitSetLike,
type Output = BitSetXor<BitSetNot<A>, T>
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: T) -> <BitSetNot<A> as BitXor<T>>::Output
impl<A> Clone for BitSetNot<A> where
A: BitSetLike + Clone,
A: BitSetLike + Clone,
fn clone(&self) -> BitSetNot<A>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A> Debug for BitSetNot<A> where
A: BitSetLike + Debug,
A: BitSetLike + Debug,
impl<'a, A> IntoIterator for &'a BitSetNot<A> where
A: BitSetLike,
A: BitSetLike,
type Item = <BitIter<&'a BitSetNot<A>> as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = BitIter<&'a BitSetNot<A>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> <&'a BitSetNot<A> as IntoIterator>::IntoIter
impl<A> IntoIterator for BitSetNot<A> where
A: BitSetLike,
A: BitSetLike,
type Item = <BitIter<BitSetNot<A>> as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = BitIter<BitSetNot<A>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> <BitSetNot<A> as IntoIterator>::IntoIter
impl<'a, A> Join for &'a BitSetNot<A> where
A: BitSetLike,
[src]
A: BitSetLike,
type Type = u32
Type of joined components.
type Value = ()
Type of joined storages.
type Mask = &'a BitSetNot<A>
Type of joined bit mask.
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)
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
fn join(self) -> JoinIter<Self>ⓘ
[src]
fn maybe(self) -> MaybeJoin<Self>
[src]
fn is_unconstrained() -> bool
[src]
impl<A> Join for BitSetNot<A> where
A: BitSetLike,
[src]
A: BitSetLike,
type Type = u32
Type of joined components.
type Value = ()
Type of joined storages.
type Mask = BitSetNot<A>
Type of joined bit mask.
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)
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
fn join(self) -> JoinIter<Self>ⓘ
[src]
fn maybe(self) -> MaybeJoin<Self>
[src]
fn is_unconstrained() -> bool
[src]
impl<'a, A> Not for &'a BitSetNot<A> where
A: BitSetLike,
A: BitSetLike,
type Output = BitSetNot<&'a BitSetNot<A>>
The resulting type after applying the !
operator.
fn not(self) -> <&'a BitSetNot<A> as Not>::Output
impl<A> Not for BitSetNot<A> where
A: BitSetLike,
A: BitSetLike,
Auto Trait Implementations
impl<A> RefUnwindSafe for BitSetNot<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for BitSetNot<A> where
A: Send,
A: Send,
impl<A> Sync for BitSetNot<A> where
A: Sync,
A: Sync,
impl<A> Unpin for BitSetNot<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for BitSetNot<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Event for T where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> Resource for T where
T: Any,
[src]
T: Any,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,