pub struct Drawer { /* private fields */ }Implementations§
Source§impl Drawer
impl Drawer
pub fn new( display: &mut Display, texture_count: usize, vbo_size: usize, ebo_size: usize, command_buffer: Buffer, ) -> Drawer
pub fn add_texture( &mut self, display: &mut Display, image: &[u8], width: u32, height: u32, ) -> Handle
pub fn draw( &mut self, ctx: &mut Context, cfg: &mut ConvertConfig, frame: &mut Frame, _scale: Vec2, )
Auto Trait Implementations§
impl !Freeze for Drawer
impl !RefUnwindSafe for Drawer
impl !Send for Drawer
impl !Sync for Drawer
impl Unpin for Drawer
impl !UnwindSafe for Drawer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more