pub trait ColorImageExt {
// Required methods
fn from_vec_color32(size: [usize; 2], vec: Vec<Color32>) -> Self;
fn from_color32_slice(size: [usize; 2], slice: &[Color32]) -> Self;
}
Expand description
egui::ColorImage Extender.
Required Methods§
fn from_vec_color32(size: [usize; 2], vec: Vec<Color32>) -> Self
fn from_color32_slice(size: [usize; 2], slice: &[Color32]) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.