pub fn alloc_user_texture(&mut self) -> egui::TextureId {
        for (i, tex) in self.user_textures.iter_mut().enumerate() {
            if tex.is_none() {
                *tex = Some(Default::default());
                return egui::TextureId::User(i as u64);
            }
        }
        let id = egui::TextureId::User(self.user_textures.len() as u64);
        self.user_textures.push(Some(Default::default()));
        id
    }
// ------------------------------------------------------------------------
// user textures: this is an experimental feature.
// No need to implement this in your Egui integration!
user textures: this is an experimental feature.
No need to implement this in your Egui integration!
user textures : this is an experimental feature . No need to implement this in your Egui integration!
pub fn alloc_user_texture(&mut self) -> egui::TextureId {
        for (i, tex) in self.user_textures.iter_mut().enumerate() {
            if tex.is_none() {
                *tex = Some(Default::default());
                return egui::TextureId::User(i as u64);
            }
        }
        let id = egui::TextureId::User(self.user_textures.len() as u64);
        self.user_textures.push(Some(Default::default()));
        id
    }
pub fn alloc_user_texture ( & mut self ) -> egui :: TextureId { for ( i , tex ) in self . user_textures . iter_mut ( ) . enumerate ( ) { if tex . is_none ( ) { * tex = Some ( Default :: default ( ) ) ; return egui :: TextureId :: User ( i as u64 ) ; } } let id = egui :: TextureId :: User ( self . user_textures . len ( ) as u64 ) ; self . user_textures . push ( Some ( Default :: default ( ) ) ) ; id }
user textures: this is an experimental feature.
user textures : this is an experimental feature .
&mut self
&mut self