Function cosmic::widget::icon::from_raster_bytes
source ยท pub fn from_raster_bytes(
bytes: impl Into<Cow<'static, [u8]>> + AsRef<[u8]> + Send + Sync + 'static,
) -> Handle
Expand description
Create an image handle from memory.