Enum rin::ecs::Bitmask [−][src]
pub enum Bitmask {}Show variants
All, Has(U256), Not(U256), Or(U256), Option(U256), HasNot(U256, U256), HasOr(U256, U256), NotOr(U256, U256), HasOption(U256, U256), OrOption(U256, U256), NotOption(U256, U256), HasNotOr(U256, U256, U256), HasNotOption(U256, U256, U256), HasOrOption(U256, U256, U256), NotOrOption(U256, U256, U256), HasNotOrOption(U256, U256, U256, U256), Refs(Vec<(TypeId, Bitmask), Global>), OtherAndRefs(Box<Bitmask, Global>, Vec<(TypeId, Bitmask), Global>),
Variants
Has(U256)
Not(U256)
Or(U256)
Option(U256)
Implementations
impl Bitmask
[src]
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]
C: Component,
pub fn components(&self) -> U256
[src]
pub fn check(&self, mask: U256) -> Check
[src]
Trait Implementations
impl PartialOrd<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> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> DowncastSync for T where
T: Any + Send + Sync,
[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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]