pub struct CellClip {
pub x: usize,
pub width: usize,
pub complete: bool,
}Expand description
A glyph’s intersection with the visible cell window.
Fields§
§x: usizeLeftmost visible cell, relative to the window origin.
width: usizeVisible cell count (a partially clipped wide glyph’s cells).
complete: boolThe whole cluster is visible — false means the renderer must use styled blanks, never half a glyph.
Trait Implementations§
impl Copy for CellClip
impl Eq for CellClip
impl StructuralPartialEq for CellClip
Auto Trait Implementations§
impl Freeze for CellClip
impl RefUnwindSafe for CellClip
impl Send for CellClip
impl Sync for CellClip
impl Unpin for CellClip
impl UnsafeUnpin for CellClip
impl UnwindSafe for CellClip
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