[][src]Struct cranelift_entity_set::EntitySet

pub struct EntitySet<K> where
    K: EntityRef
{ /* fields omitted */ }

Methods

impl<K> EntitySet<K> where
    K: EntityRef
[src]

pub fn new() -> Self[src]

pub fn contains(&self, k: K, pool: &EntitySetPool<K>) -> bool[src]

pub fn size(&self, pool: &EntitySetPool<K>) -> usize[src]

pub fn clear(&mut self, pool: &mut EntitySetPool<K>)[src]

pub fn insert(&mut self, k: K, pool: &mut EntitySetPool<K>) -> bool[src]

pub fn remove(&mut self, k: K, pool: &mut EntitySetPool<K>) -> bool[src]

pub fn make_copy(&self, pool: &mut EntitySetPool<K>) -> EntitySet<K>[src]

pub fn union(&mut self, other: &EntitySet<K>, pool: &mut EntitySetPool<K>)[src]

Important traits for EntitySetIter<'a, T>
pub fn iter<'a>(&self, pool: &'a EntitySetPool<K>) -> EntitySetIter<'a, K>[src]

pub fn eq(&self, other: &EntitySet<K>, pool: &EntitySetPool<K>) -> bool[src]

pub fn eq_other(
    &self,
    other: &EntitySet<K>,
    pool: &EntitySetPool<K>,
    other_pool: &EntitySetPool<K>
) -> bool
[src]

pub fn bind<'a>(&self, pool: &'a EntitySetPool<K>) -> BoundEntitySet<'a, K>[src]

Trait Implementations

impl<K: Clone> Clone for EntitySet<K> where
    K: EntityRef
[src]

impl<K: Debug> Debug for EntitySet<K> where
    K: EntityRef
[src]

impl<T: EntityRef> Default for EntitySet<T>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for EntitySet<K> where
    K: RefUnwindSafe

impl<K> Send for EntitySet<K> where
    K: Send

impl<K> Sync for EntitySet<K> where
    K: Sync

impl<K> Unpin for EntitySet<K> where
    K: Unpin

impl<K> UnwindSafe for EntitySet<K> where
    K: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.