pub struct TestBackend { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Backend for TestBackend
impl Backend for TestBackend
fn size(&self) -> Size
fn next_event(&mut self, _timeout: Duration) -> Option<Event>
fn resize(&mut self, new_size: Size, glyph_map: &mut GlyphMap)
Source§fn paint<'bp>(
&mut self,
glyph_map: &mut GlyphMap,
widgets: PaintChildren<'_, 'bp>,
attribute_storage: &AttributeStorage<'bp>,
)
fn paint<'bp>( &mut self, glyph_map: &mut GlyphMap, widgets: PaintChildren<'_, 'bp>, attribute_storage: &AttributeStorage<'bp>, )
Paint the widgets
Auto Trait Implementations§
impl Freeze for TestBackend
impl RefUnwindSafe for TestBackend
impl Send for TestBackend
impl Sync for TestBackend
impl Unpin for TestBackend
impl UnsafeUnpin for TestBackend
impl UnwindSafe for TestBackend
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