pub unsafe trait ImplFillRect {
// Required methods
unsafe fn fill_with_color(x: u32, y: u32, w: u32, h: u32, color: u32);
unsafe fn fill_with_buffer(
x: u32,
y: u32,
w: u32,
h: u32,
colors: *const u8,
);
}Required Methods§
unsafe fn fill_with_color(x: u32, y: u32, w: u32, h: u32, color: u32)
unsafe fn fill_with_buffer(x: u32, y: u32, w: u32, h: u32, colors: *const u8)
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.