Struct lb::typesetters::Half
source · pub struct Half;Trait Implementations§
source§impl Typesetter for Half
impl Typesetter for Half
fn compose(&self, glyphs: &mut GlyphsRefMut<'_>, img: &ImgRef<'_>)
fn glyph_size(&self) -> Size
fn correct(&self, size: Size, ratio: f32) -> Size
fn size_as_image(&self, glyphs_size: Size) -> Size
fn size_as_glyphs(&self, rgb_size: Size) -> Size
fn workloads<'a>( &'a self, glyphs: GlyphsRefMut<'a>, img: ImgRef<'a>, jobs: usize ) -> Workloads<'a, Self> ⓘwhere Self: Sized + Sync,
Auto Trait Implementations§
impl RefUnwindSafe for Half
impl Send for Half
impl Sync for Half
impl Unpin for Half
impl UnwindSafe for Half
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