Struct rin::scene::renderer::memory::AllocatorsIndex [−][src]
pub struct AllocatorsIndex { /* fields omitted */ }
Implementations
impl AllocatorsIndex
[src]
impl AllocatorsIndex
[src]pub fn new() -> AllocatorsIndex
[src]
pub fn add_allocator<V, B>(
&mut self,
allocator: Allocator<V, B>
) -> AllocatorHandle<V, B> where
B: 'static,
V: 'static,
[src]
&mut self,
allocator: Allocator<V, B>
) -> AllocatorHandle<V, B> where
B: 'static,
V: 'static,
pub fn handle<V, B>(&self) -> Option<AllocatorHandle<V, B>> where
B: 'static,
V: 'static,
[src]
B: 'static,
V: 'static,
pub fn by_type<V, B>(&self) -> Option<&Allocator<V, B>> where
B: 'static,
V: 'static,
[src]
B: 'static,
V: 'static,
pub fn by_type_mut<V, B>(&mut self) -> Option<&mut Allocator<V, B>> where
B: 'static,
V: 'static,
[src]
B: 'static,
V: 'static,
pub fn get<V, B>(
&self,
handle: AllocatorHandle<V, B>
) -> Option<&Allocator<V, B>> where
B: 'static,
V: 'static,
[src]
&self,
handle: AllocatorHandle<V, B>
) -> Option<&Allocator<V, B>> where
B: 'static,
V: 'static,
pub fn get_mut<V, B>(
&mut self,
handle: AllocatorHandle<V, B>
) -> Option<&mut Allocator<V, B>> where
B: 'static,
V: 'static,
[src]
&mut self,
handle: AllocatorHandle<V, B>
) -> Option<&mut Allocator<V, B>> where
B: 'static,
V: 'static,
Trait Implementations
impl<V, B> Index<AllocatorHandle<V, B>> for AllocatorsIndex where
B: 'static,
V: 'static,
[src]
impl<V, B> Index<AllocatorHandle<V, B>> for AllocatorsIndex where
B: 'static,
V: 'static,
[src]impl<V, B> IndexMut<AllocatorHandle<V, B>> for AllocatorsIndex where
B: 'static,
V: 'static,
[src]
impl<V, B> IndexMut<AllocatorHandle<V, B>> for AllocatorsIndex where
B: 'static,
V: 'static,
[src]pub fn index_mut(
&mut self,
handle: AllocatorHandle<V, B>
) -> &mut Allocator<V, B>
[src]
&mut self,
handle: AllocatorHandle<V, B>
) -> &mut Allocator<V, B>
Auto Trait Implementations
impl !RefUnwindSafe for AllocatorsIndex
impl !Send for AllocatorsIndex
impl !Sync for AllocatorsIndex
impl Unpin for AllocatorsIndex
impl !UnwindSafe for AllocatorsIndex
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]