pub struct GridMap {
grids: FnvHashMap<u64, Grid>,
}Fields
grids: FnvHashMap<u64, Grid>Implementations
sourceimpl GridMap
impl GridMap
pub fn new() -> Self
pub fn current(&self) -> Option<&Grid>
pub fn current_model_mut(&mut self) -> Option<&mut UiModel>
pub fn current_model(&self) -> Option<&UiModel>
pub fn get_or_create(&mut self, idx: u64) -> &mut Grid
pub fn destroy(&mut self, idx: u64)
pub fn clear_glyphs(&mut self)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GridMap
impl !Send for GridMap
impl !Sync for GridMap
impl Unpin for GridMap
impl UnwindSafe for GridMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more