pub struct Glyph {
pub index: usize,
pub bounds: Rect,
pub text: String,
pub generated: bool,
}Expand description
原字符来源与视觉框;传入顺序可以乱序,输出仍按 index 保持来源顺序。
Fields§
§index: usize§bounds: Rect§text: String§generated: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for Glyph
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnsafeUnpin for Glyph
impl UnwindSafe for Glyph
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