pub struct CanvasState { /* private fields */ }Expand description
A canvas’s translation and clip, saved with Canvas::state and brought back with
Canvas::restore.
Trait Implementations§
Source§impl Clone for CanvasState
impl Clone for CanvasState
impl Copy for CanvasState
Source§impl Debug for CanvasState
impl Debug for CanvasState
Source§impl PartialEq for CanvasState
impl PartialEq for CanvasState
impl StructuralPartialEq for CanvasState
Auto Trait Implementations§
impl Freeze for CanvasState
impl RefUnwindSafe for CanvasState
impl Send for CanvasState
impl Sync for CanvasState
impl Unpin for CanvasState
impl UnsafeUnpin for CanvasState
impl UnwindSafe for CanvasState
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