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: 'static, B: 'static>(
&mut self,
allocator: Allocator<V, B>
) -> AllocatorHandle<V, B>
[src]
&mut self,
allocator: Allocator<V, B>
) -> AllocatorHandle<V, B>
pub fn handle<V: 'static, B: 'static>(&self) -> Option<AllocatorHandle<V, B>>
[src]
pub fn by_type<V: 'static, B: 'static>(&self) -> Option<&Allocator<V, B>>
[src]
pub fn by_type_mut<V: 'static, B: 'static>(
&mut self
) -> Option<&mut Allocator<V, B>>
[src]
&mut self
) -> Option<&mut Allocator<V, B>>
pub fn get<V: 'static, B: 'static>(
&self,
handle: AllocatorHandle<V, B>
) -> Option<&Allocator<V, B>>
[src]
&self,
handle: AllocatorHandle<V, B>
) -> Option<&Allocator<V, B>>
pub fn get_mut<V: 'static, B: 'static>(
&mut self,
handle: AllocatorHandle<V, B>
) -> Option<&mut Allocator<V, B>>
[src]
&mut self,
handle: AllocatorHandle<V, B>
) -> Option<&mut Allocator<V, B>>
Trait Implementations
impl<V: 'static, B: 'static> Index<AllocatorHandle<V, B>> for AllocatorsIndex
[src]
impl<V: 'static, B: 'static> Index<AllocatorHandle<V, B>> for AllocatorsIndex
[src]impl<V: 'static, B: 'static> IndexMut<AllocatorHandle<V, B>> for AllocatorsIndex
[src]
impl<V: 'static, B: 'static> IndexMut<AllocatorHandle<V, B>> for AllocatorsIndex
[src]fn index_mut(&mut self, handle: AllocatorHandle<V, B>) -> &mut Allocator<V, B>
[src]
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]