[−][src]Struct cranelift_entity_set::EntitySet
Methods
impl<K> EntitySet<K> where
K: EntityRef,
[src]
K: EntityRef,
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_into(&mut self, other: &EntitySet<K>, pool: &mut EntitySetPool<K>)
[src]
pub fn subtract_from(
&mut self,
other: &EntitySet<K>,
pool: &mut EntitySetPool<K>
)
[src]
&mut self,
other: &EntitySet<K>,
pool: &mut EntitySetPool<K>
)
pub fn union<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn union_other<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn intersection<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn intersection_other<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn difference<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn difference_other<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn symmetric_difference<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
pub fn symmetric_difference_other<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
[src]
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> impl Iterator<Item = K> + 'a
ⓘImportant traits for EntitySetIter<'a, T>pub fn iter<'a>(&self, pool: &'a EntitySetPool<K>) -> EntitySetIter<'a, K>
[src]
ⓘImportant traits for EntitySetIter<'a, T>
ⓘImportant traits for EntitySetJoinIter<'a, T>pub fn join<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> EntitySetJoinIter<'a, K>
[src]
ⓘImportant traits for EntitySetJoinIter<'a, T>
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>
) -> EntitySetJoinIter<'a, K>
ⓘImportant traits for EntitySetJoinIter<'a, T>pub fn join_other<'a>(
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> EntitySetJoinIter<'a, K>
[src]
ⓘImportant traits for EntitySetJoinIter<'a, T>
&self,
rhs: &EntitySet<K>,
pool: &'a EntitySetPool<K>,
rhs_pool: &'a EntitySetPool<K>
) -> EntitySetJoinIter<'a, K>
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]
&self,
other: &EntitySet<K>,
pool: &EntitySetPool<K>,
other_pool: &EntitySetPool<K>
) -> bool
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]
K: EntityRef,
impl<K: Debug> Debug for EntitySet<K> where
K: EntityRef,
[src]
K: EntityRef,
impl<T: EntityRef> Default for EntitySet<T>
[src]
Auto Trait Implementations
impl<K> RefUnwindSafe for EntitySet<K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for EntitySet<K> where
K: Send,
K: Send,
impl<K> Sync for EntitySet<K> where
K: Sync,
K: Sync,
impl<K> Unpin for EntitySet<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for EntitySet<K> where
K: UnwindSafe,
K: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,