pub struct HarfBuzzTextShaper;Expand description
A text shaper backed by HarfBuzz.
Implementations§
Trait Implementations§
Source§impl Default for HarfBuzzTextShaper
impl Default for HarfBuzzTextShaper
Source§impl ITextShaperImpl for HarfBuzzTextShaper
impl ITextShaperImpl for HarfBuzzTextShaper
Source§fn shape_text(
&self,
text: &ReadOnlyMemory<u16>,
options: &TextShaperOptions,
) -> Rc<ShapedBuffer>
fn shape_text( &self, text: &ReadOnlyMemory<u16>, options: &TextShaperOptions, ) -> Rc<ShapedBuffer>
Shapes the specified region within the text and returns a shaped buffer. Read more
Source§fn create_typeface(
&self,
glyph_typeface: &GlyphTypeface,
) -> Rc<dyn ITextShaperTypeface>
fn create_typeface( &self, glyph_typeface: &GlyphTypeface, ) -> Rc<dyn ITextShaperTypeface>
Creates a text shaper typeface based on the specified glyph typeface.
Auto Trait Implementations§
impl Freeze for HarfBuzzTextShaper
impl RefUnwindSafe for HarfBuzzTextShaper
impl Send for HarfBuzzTextShaper
impl Sync for HarfBuzzTextShaper
impl Unpin for HarfBuzzTextShaper
impl UnsafeUnpin for HarfBuzzTextShaper
impl UnwindSafe for HarfBuzzTextShaper
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more