pub struct ComposedFontSystem<L, S> { /* private fields */ }Expand description
Font system assembled from independent loading and shaping services.
Implementations§
Source§impl<L, S> ComposedFontSystem<L, S>
impl<L, S> ComposedFontSystem<L, S>
Trait Implementations§
impl<L: Eq, S: Eq> Eq for ComposedFontSystem<L, S>
Source§impl<L, S> FontSystem for ComposedFontSystem<L, S>where
L: FontLoader,
S: TextShaper,
impl<L, S> FontSystem for ComposedFontSystem<L, S>where
L: FontLoader,
S: TextShaper,
Source§fn load_font(&self, query: &FontQuery) -> Result<FontData, FontError>
fn load_font(&self, query: &FontQuery) -> Result<FontData, FontError>
Load font data that matches the query.
Source§fn shape_text(
&self,
request: &ShapeRequest<'_>,
) -> Result<ShapedText, FontError>
fn shape_text( &self, request: &ShapeRequest<'_>, ) -> Result<ShapedText, FontError>
Shape text into positioned glyphs.
impl<L: PartialEq, S: PartialEq> StructuralPartialEq for ComposedFontSystem<L, S>
Auto Trait Implementations§
impl<L, S> Freeze for ComposedFontSystem<L, S>
impl<L, S> RefUnwindSafe for ComposedFontSystem<L, S>where
L: RefUnwindSafe,
S: RefUnwindSafe,
impl<L, S> Send for ComposedFontSystem<L, S>
impl<L, S> Sync for ComposedFontSystem<L, S>
impl<L, S> Unpin for ComposedFontSystem<L, S>
impl<L, S> UnsafeUnpin for ComposedFontSystem<L, S>where
L: UnsafeUnpin,
S: UnsafeUnpin,
impl<L, S> UnwindSafe for ComposedFontSystem<L, S>where
L: UnwindSafe,
S: UnwindSafe,
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