Struct cranelift_bforest::SetForest [−][src]
Memory pool for a forest of Set
instances.
Implementations
impl<K> SetForest<K> where
K: Copy,
[src]
K: Copy,
pub fn new() -> Self
[src]
Create a new empty forest.
pub fn clear(&mut self)
[src]
Clear all sets in the forest.
All Set
instances belong to this forest are invalidated and should no longer be used.
Auto Trait Implementations
impl<K> RefUnwindSafe for SetForest<K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for SetForest<K> where
K: Send,
K: Send,
impl<K> Sync for SetForest<K> where
K: Sync,
K: Sync,
impl<K> Unpin for SetForest<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for SetForest<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,
pub 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, 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.
pub 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>,