pub struct Canvas<T> { /* private fields */ }
Implementations§
Source§impl<T: DrawBackend> Canvas<T>
impl<T: DrawBackend> Canvas<T>
pub fn new(t: T) -> Canvas<T>
pub fn draw_closed_polygon( &mut self, points: &[(f64, f64)], options: DrawOptions, ) -> Result<(), T::Error>
pub fn draw_holy_polygon<'a, I1, I2>( &mut self, additive: I1, subtractive: I2, options: DrawOptions, ) -> Result<(), T::Error>
pub fn close(self) -> Result<(), T::Error>
Auto Trait Implementations§
impl<T> Freeze for Canvas<T>where
T: Freeze,
impl<T> RefUnwindSafe for Canvas<T>where
T: RefUnwindSafe,
impl<T> Send for Canvas<T>where
T: Send,
impl<T> Sync for Canvas<T>where
T: Sync,
impl<T> Unpin for Canvas<T>where
T: Unpin,
impl<T> UnwindSafe for Canvas<T>where
T: 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