pub struct ShapeFrame { /* private fields */ }Expand description
Shape result indexed by cell, kept across frames: a walk rewrites
only the rows it visits. Empty means the shaper never touched the
screen: every lookup yields ShapedCell::None.
Implementations§
Source§impl ShapeFrame
impl ShapeFrame
pub const fn empty() -> Self
pub fn cluster_slice(&self, start: u32, len: u16) -> &[ClusterGlyph]
pub fn cell_at(&self, row: u16, col: u16) -> ShapedCell
pub fn cells(&self) -> &[ShapedCell]
pub const fn cols(&self) -> u16
Trait Implementations§
Source§impl Clone for ShapeFrame
impl Clone for ShapeFrame
Source§impl Debug for ShapeFrame
impl Debug for ShapeFrame
Auto Trait Implementations§
impl Freeze for ShapeFrame
impl RefUnwindSafe for ShapeFrame
impl Send for ShapeFrame
impl Sync for ShapeFrame
impl Unpin for ShapeFrame
impl UnsafeUnpin for ShapeFrame
impl UnwindSafe for ShapeFrame
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