Struct read_fonts::tables::postscript::charstring::PenSink
source · pub struct PenSink<'a, P>(/* private fields */);
Expand description
Command sink that sends the results of charstring evaluation to a Pen.
Implementations§
Trait Implementations§
source§impl<'a, P> CommandSink for PenSink<'a, P>where
P: Pen,
impl<'a, P> CommandSink for PenSink<'a, P>where
P: Pen,
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