pub struct Void;
Expand description
Void renderer used for testing
Trait Implementations§
Source§impl Renderer for Void
impl Renderer for Void
Source§fn render(
&mut self,
images: &mut ImageStore<VoidImage>,
verts: &[Vertex],
commands: Vec<Command>,
)
fn render( &mut self, images: &mut ImageStore<VoidImage>, verts: &[Vertex], commands: Vec<Command>, )
Renderer image
Source§fn update_image(
&mut self,
image: &mut Self::Image,
data: ImageSource<'_>,
x: usize,
y: usize,
) -> Result<(), ErrorKind>
fn update_image( &mut self, image: &mut Self::Image, data: ImageSource<'_>, x: usize, y: usize, ) -> Result<(), ErrorKind>
Update image
Source§fn delete_image(&mut self, image: Self::Image, _image_id: ImageId)
fn delete_image(&mut self, image: Self::Image, _image_id: ImageId)
Delete image
Auto Trait Implementations§
impl Freeze for Void
impl RefUnwindSafe for Void
impl Send for Void
impl Sync for Void
impl Unpin for Void
impl UnwindSafe for Void
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