struct PenSink<'a, P>(&'a mut P);
Expand description
Command sink that sends the results of charstring evaluation to an OutlinePen.
Tuple Fields§
§0: &'a mut P
Implementations§
Trait Implementations§
Source§impl<P> CommandSink for PenSink<'_, P>where
P: OutlinePen,
impl<P> CommandSink for PenSink<'_, P>where
P: OutlinePen,
fn move_to(&mut self, x: Fixed, y: Fixed)
fn line_to(&mut self, x: Fixed, y: Fixed)
fn curve_to( &mut self, cx0: Fixed, cy0: Fixed, cx1: Fixed, cy1: Fixed, x: Fixed, y: Fixed, )
fn close(&mut self)
Source§fn hint_mask(&mut self, mask: &[u8])
fn hint_mask(&mut self, mask: &[u8])
Bitmask defining the hints that should be made active for the
commands that follow.
Source§fn counter_mask(&mut self, mask: &[u8])
fn counter_mask(&mut self, mask: &[u8])
Bitmask defining the counter hints that should be made active for the
commands that follow.
Auto Trait Implementations§
impl<'a, P> Freeze for PenSink<'a, P>
impl<'a, P> RefUnwindSafe for PenSink<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for PenSink<'a, P>where
P: Send,
impl<'a, P> Sync for PenSink<'a, P>where
P: Sync,
impl<'a, P> Unpin for PenSink<'a, P>
impl<'a, P> !UnwindSafe for PenSink<'a, P>
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