[][src]Trait pui::runtime::PoolMut

pub trait PoolMut<T> {
    pub fn try_put_mut(
        &mut self,
        value: RuntimeId<T>
    ) -> Result<(), RuntimeId<T>>;
pub fn take_mut(&mut self) -> Option<RuntimeId<T>>; }

A pool of ids that can be used to reuse ids.

Required methods

pub fn try_put_mut(&mut self, value: RuntimeId<T>) -> Result<(), RuntimeId<T>>[src]

Put a new id into the pool

pub fn take_mut(&mut self) -> Option<RuntimeId<T>>[src]

Take an idea out of the pool

Loading content...

Implementations on Foreign Types

impl<P: ?Sized + Pool<T>, T> PoolMut<T> for &P[src]

impl<T> PoolMut<T> for ()[src]

impl<T, R: ?Sized + PoolMut<T>> PoolMut<T> for &mut R[src]

impl<T, U: PoolMut<T>> PoolMut<T> for Cell<U>[src]

impl<T, U: PoolMut<T>> PoolMut<T> for RefCell<U>[src]

impl<T, U: PoolMut<T>> PoolMut<T> for Mutex<U>[src]

impl<T> PoolMut<T> for Vec<RuntimeId<T>>[src]

impl<T> PoolMut<T> for VecDeque<RuntimeId<T>>[src]

impl<T> PoolMut<T> for Option<RuntimeId<T>>[src]

impl<P: PoolMut<T>, T> PoolMut<T> for [P][src]

Loading content...

Implementors

Loading content...