slint-ui/slint · error
not implemented
Error message
not implemented
What it means
Error "not implemented" thrown in slint-ui/slint.
Solutions
- This image source type is not supported by the femtovg renderer; convert the image first.
- Use a different renderer that supports this image type.
When it happens
Trigger: Thrown at internal/renderers/femtovg/images.rs:36 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of slint-ui/slint@3a7e700487 (2026-08-19).
Data as JSON: /api/errors/89e4ececfb5898eb.
Report an issue: GitHub.
Appendix: source
Thrown at internal/renderers/femtovg/images.rs:36
where
Self: femtovg::Renderer + Sized,
{
#[cfg(not(target_family = "wasm"))]
fn convert_opengl_texture(opengl_texture: std::num::NonZero<u32>) -> Self::NativeTexture;
#[cfg(feature = "unstable-wgpu-30")]
fn convert_wgpu_30_texture(wgpu_texture: wgpu_30::Texture) -> Self::NativeTexture;
}
impl TextureImporter for femtovg::renderer::OpenGl {
#[cfg(not(target_family = "wasm"))]
fn convert_opengl_texture(opengl_texture: std::num::NonZero<u32>) -> Self::NativeTexture {
glow::NativeTexture(opengl_texture)
}
#[cfg(feature = "unstable-wgpu-30")]
fn convert_wgpu_30_texture(_wgpu_texture: wgpu_30::Texture) -> Self::NativeTexture {
unimplemented!()
}
}
#[cfg(feature = "wgpu-30")]
impl TextureImporter for femtovg::renderer::WGPURenderer {
#[cfg(not(target_family = "wasm"))]
fn convert_opengl_texture(_opengl_texture: std::num::NonZero<u32>) -> Self::NativeTexture {
todo!()
}
#[cfg(feature = "unstable-wgpu-30")]
fn convert_wgpu_30_texture(wgpu_texture: wgpu_30::Texture) -> Self::NativeTexture {
wgpu_texture
}
}
pub struct Texture<R: femtovg::Renderer + TextureImporter> {
pub id: femtovg::ImageId,
canvas: CanvasRc<R>,View on GitHub (pinned to 3a7e700487)