pub struct NullPen;
Expand description
Pen that drops all drawing output into the ether.
Trait Implementations§
source§impl OutlinePen for NullPen
impl OutlinePen for NullPen
source§fn quad_to(&mut self, _cx0: f32, _cy0: f32, _x: f32, _y: f32)
fn quad_to(&mut self, _cx0: f32, _cy0: f32, _x: f32, _y: f32)
Emit a quadratic bezier segment from the current point with a control
point at (cx0, cy0) and ending at (x, y).
Auto Trait Implementations§
impl Freeze for NullPen
impl RefUnwindSafe for NullPen
impl Send for NullPen
impl Sync for NullPen
impl Unpin for NullPen
impl UnwindSafe for NullPen
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