pub struct TextCluster {
pub paragraph_index: usize,
pub line_index: usize,
pub byte_range: Range<usize>,
pub glyph_range: Range<usize>,
pub run_range: Range<usize>,
pub rect: Rect,
}Fields§
§paragraph_index: usize§line_index: usize§byte_range: Range<usize>§glyph_range: Range<usize>§run_range: Range<usize>§rect: RectTrait Implementations§
Source§impl Clone for TextCluster
impl Clone for TextCluster
Source§impl Debug for TextCluster
impl Debug for TextCluster
Source§impl PartialEq for TextCluster
impl PartialEq for TextCluster
impl StructuralPartialEq for TextCluster
Auto Trait Implementations§
impl Forget for TextCluster
impl Freeze for TextCluster
impl Move for TextCluster
impl RefUnwindSafe for TextCluster
impl Send for TextCluster
impl Sync for TextCluster
impl Unpin for TextCluster
impl UnsafeUnpin for TextCluster
impl UnwindSafe for TextCluster
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