#[non_exhaustive]pub struct HostBoxRun {
pub font: FontKey,
pub size: Length,
pub glyphs: Vec<HostBoxGlyph>,
}Expand description
Glyphs of one face inside a host box, the fragment carries the key so the host can draw them.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.font: FontKeyKey of the host’s face.
size: LengthSize the glyphs are drawn at.
glyphs: Vec<HostBoxGlyph>Glyphs in drawing order.
Implementations§
Source§impl HostBoxRun
impl HostBoxRun
Trait Implementations§
Source§impl Clone for HostBoxRun
impl Clone for HostBoxRun
Source§impl Debug for HostBoxRun
impl Debug for HostBoxRun
impl Eq for HostBoxRun
Source§impl PartialEq for HostBoxRun
impl PartialEq for HostBoxRun
impl StructuralPartialEq for HostBoxRun
Auto Trait Implementations§
impl Freeze for HostBoxRun
impl RefUnwindSafe for HostBoxRun
impl Send for HostBoxRun
impl Sync for HostBoxRun
impl Unpin for HostBoxRun
impl UnsafeUnpin for HostBoxRun
impl UnwindSafe for HostBoxRun
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