pub struct CxIconAtlas {
pub texture: Texture,
pub clear_buffer: bool,
/* private fields */
}Fields§
§texture: Texture§clear_buffer: boolImplementations§
Source§impl CxIconAtlas
impl CxIconAtlas
pub fn new(texture: Texture) -> Self
pub fn parse_and_cache_path( &mut self, path_hash: CxIconPathHash, path: &[u8], ) -> Option<(CxIconPathHash, Rect)>
pub fn get_icon_bounds( &mut self, cx: &Cx, path_str: &Arc<String>, svg_dep: &Arc<String>, ) -> Option<(CxIconPathHash, Rect)>
pub fn get_icon_slot( &mut self, args: CxIconArgs, path_hash: CxIconPathHash, ) -> CxIconSlot
Source§impl CxIconAtlas
impl CxIconAtlas
pub fn reset_icon_atlas(&mut self)
pub fn get_internal_atlas_texture(&self) -> &Texture
Auto Trait Implementations§
impl Freeze for CxIconAtlas
impl !RefUnwindSafe for CxIconAtlas
impl !Send for CxIconAtlas
impl !Sync for CxIconAtlas
impl Unpin for CxIconAtlas
impl !UnwindSafe for CxIconAtlas
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