pub struct ShapedGlyphRun { /* private fields */ }Expand description
Cached logical glyph-advance shaping result independent of DPI scale and raster bitmap atlas.
Implementations§
Source§impl ShapedGlyphRun
impl ShapedGlyphRun
pub fn get_cluster_advances(&self) -> &Vec<f32>
pub fn get_mut_cluster_advances(&mut self) -> &mut Vec<f32>
pub fn set_cluster_advances(&mut self, val: Vec<f32>) -> &mut Self
pub fn get_total_width(&self) -> f32
pub fn get_mut_total_width(&mut self) -> &mut f32
pub fn set_total_width(&mut self, val: f32) -> &mut Self
pub fn get_cluster_count(&self) -> usize
pub fn get_mut_cluster_count(&mut self) -> &mut usize
pub fn set_cluster_count(&mut self, val: usize) -> &mut Self
pub fn get_byte_size(&self) -> usize
pub fn get_mut_byte_size(&mut self) -> &mut usize
pub fn set_byte_size(&mut self, val: usize) -> &mut Self
pub fn get_last_used_tick(&self) -> u64
pub fn get_mut_last_used_tick(&mut self) -> &mut u64
pub fn set_last_used_tick(&mut self, val: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for ShapedGlyphRun
impl Clone for ShapedGlyphRun
Source§impl Debug for ShapedGlyphRun
impl Debug for ShapedGlyphRun
Source§impl Default for ShapedGlyphRun
impl Default for ShapedGlyphRun
Source§impl PartialEq for ShapedGlyphRun
impl PartialEq for ShapedGlyphRun
impl StructuralPartialEq for ShapedGlyphRun
Auto Trait Implementations§
impl Forget for ShapedGlyphRun
impl Freeze for ShapedGlyphRun
impl Move for ShapedGlyphRun
impl RefUnwindSafe for ShapedGlyphRun
impl Send for ShapedGlyphRunwhere
RawVecInner: Send,
impl Sync for ShapedGlyphRunwhere
RawVecInner: Sync,
impl Unpin for ShapedGlyphRun
impl UnsafeUnpin for ShapedGlyphRun
impl UnwindSafe for ShapedGlyphRunwhere
RawVecInner: 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