pub enum GlyphDrawMode {
Fill,
Stroke(StrokeProps),
Invisible,
}Expand description
The draw mode that should be used for a glyph.
Variants§
Fill
Draw using a fill.
Stroke(StrokeProps)
Draw using a stroke.
Invisible
Invisible text (for text extraction but not visual rendering).
Trait Implementations§
Source§impl Clone for GlyphDrawMode
impl Clone for GlyphDrawMode
Source§fn clone(&self) -> GlyphDrawMode
fn clone(&self) -> GlyphDrawMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GlyphDrawMode
impl RefUnwindSafe for GlyphDrawMode
impl Send for GlyphDrawMode
impl Sync for GlyphDrawMode
impl Unpin for GlyphDrawMode
impl UnwindSafe for GlyphDrawMode
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