Enum rin::ecs::Bitmask[][src]

pub enum Bitmask {
Show variants All, Has(U256), Not(U256), Or(U256), Option(U256), HasNot(U256U256), HasOr(U256U256), NotOr(U256U256), HasOption(U256U256), OrOption(U256U256), NotOption(U256U256), HasNotOr(U256U256U256), HasNotOption(U256U256U256), HasOrOption(U256U256U256), NotOrOption(U256U256U256), HasNotOrOption(U256U256U256U256), Refs(Vec<(TypeId, Bitmask), Global>), OtherAndRefs(Box<Bitmask, Global>, Vec<(TypeId, Bitmask), Global>),
}

Variants

All
Has(U256)
Not(U256)
Or(U256)
Option(U256)
HasNot(U256U256)
HasOr(U256U256)
NotOr(U256U256)
HasOption(U256U256)
OrOption(U256U256)
NotOption(U256U256)
HasNotOr(U256U256U256)
HasNotOption(U256U256U256)
HasOrOption(U256U256U256)
NotOrOption(U256U256U256)
HasNotOrOption(U256U256U256U256)
Refs(Vec<(TypeId, Bitmask), Global>)
OtherAndRefs(Box<Bitmask, Global>, Vec<(TypeId, Bitmask), Global>)

Implementations

impl Bitmask[src]

pub fn all() -> Bitmask[src]

pub fn option(option: U256) -> Bitmask[src]

pub fn has(has: U256) -> Bitmask[src]

pub fn not(not: U256) -> Bitmask[src]

pub fn has_not(has: U256, not: U256) -> Bitmask[src]

pub fn or(or: U256) -> Bitmask[src]

pub fn reference<C>(bitmask: Bitmask) -> Bitmask where
    C: Component
[src]

pub fn components(&self) -> U256[src]

pub fn check(&self, mask: U256) -> Check[src]

Trait Implementations

impl BitOr<Bitmask> for Bitmask[src]

type Output = Bitmask

The resulting type after applying the | operator.

impl Clone for Bitmask[src]

impl Debug for Bitmask[src]

impl Hash for Bitmask[src]

impl Ord for Bitmask[src]

impl PartialEq<Bitmask> for Bitmask[src]

impl PartialOrd<Bitmask> for Bitmask[src]

impl Eq for Bitmask[src]

impl StructuralEq for Bitmask[src]

impl StructuralPartialEq for Bitmask[src]

Auto Trait Implementations

impl RefUnwindSafe for Bitmask

impl Send for Bitmask

impl Sync for Bitmask

impl Unpin for Bitmask

impl UnwindSafe for Bitmask

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]