pub trait GetFrameFromImages: AsMut<Assets<Image>> {
// Provided method
fn frame(&mut self, image_handle: impl AsImageHandle) -> Frame<'_> { ... }
}
Provided Methods§
Sourcefn frame(&mut self, image_handle: impl AsImageHandle) -> Frame<'_>
fn frame(&mut self, image_handle: impl AsImageHandle) -> Frame<'_>
Get a frame to mutate a pixel buffer
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.