pub trait Gfx {
// Required methods
fn set_origo(&mut self, position: Vec2);
fn sprite_atlas_frame(
&mut self,
position: Vec3,
frame: u16,
atlas: &impl FrameLookup,
);
}
Required Methods§
fn set_origo(&mut self, position: Vec2)
fn sprite_atlas_frame( &mut self, position: Vec3, frame: u16, atlas: &impl FrameLookup, )
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.