pub struct Canvas<W: Write + Send + Unpin + 'static> { /* private fields */ }
Expand description
This type represents the screen and how to draw each UI element on it
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> RefUnwindSafe for Canvas<W>where W: RefUnwindSafe,
impl<W> Send for Canvas<W>
impl<W> Sync for Canvas<W>where W: Sync,
impl<W> Unpin for Canvas<W>
impl<W> UnwindSafe for Canvas<W>where W: UnwindSafe,
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