Struct arena::SyncTypedArena [−][src]
pub struct SyncTypedArena<T> { /* fields omitted */ }
Methods
impl<T> SyncTypedArena<T>
[src]
impl<T> SyncTypedArena<T>
pub fn new() -> SyncTypedArena<T>
[src]
pub fn new() -> SyncTypedArena<T>
pub fn alloc(&self, object: T) -> &mut T
[src]
pub fn alloc(&self, object: T) -> &mut T
pub fn alloc_slice(&self, slice: &[T]) -> &mut [T] where
T: Copy,
[src]
pub fn alloc_slice(&self, slice: &[T]) -> &mut [T] where
T: Copy,
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
Auto Trait Implementations
impl<T> Send for SyncTypedArena<T> where
T: Send,
impl<T> Send for SyncTypedArena<T> where
T: Send,
impl<T> !Sync for SyncTypedArena<T>
impl<T> !Sync for SyncTypedArena<T>