pub struct SymbolAssetRegistry { /* private fields */ }Expand description
Runtime registry of glyph and image dependencies derived from placed symbols.
Implementations§
Source§impl SymbolAssetRegistry
impl SymbolAssetRegistry
Sourcepub fn glyphs(&self) -> &GlyphAtlas
pub fn glyphs(&self) -> &GlyphAtlas
Immutable access to requested glyphs.
Sourcepub fn images(&self) -> &ImageManager
pub fn images(&self) -> &ImageManager
Immutable access to tracked images.
Sourcepub fn images_mut(&mut self) -> &mut ImageManager
pub fn images_mut(&mut self) -> &mut ImageManager
Mutable access to tracked images for registration.
Sourcepub fn rebuild_from_symbols(&mut self, symbols: &[PlacedSymbol])
pub fn rebuild_from_symbols(&mut self, symbols: &[PlacedSymbol])
Rebuild dependency state from placed symbols.
Trait Implementations§
Source§impl Clone for SymbolAssetRegistry
impl Clone for SymbolAssetRegistry
Source§fn clone(&self) -> SymbolAssetRegistry
fn clone(&self) -> SymbolAssetRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SymbolAssetRegistry
impl Debug for SymbolAssetRegistry
Source§impl Default for SymbolAssetRegistry
impl Default for SymbolAssetRegistry
Source§fn default() -> SymbolAssetRegistry
fn default() -> SymbolAssetRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymbolAssetRegistry
impl RefUnwindSafe for SymbolAssetRegistry
impl Send for SymbolAssetRegistry
impl Sync for SymbolAssetRegistry
impl Unpin for SymbolAssetRegistry
impl UnsafeUnpin for SymbolAssetRegistry
impl UnwindSafe for SymbolAssetRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more