pub struct Placed {
pub font: FontId,
pub glyph: u32,
pub pen: [f64; 2],
pub advance: f64,
pub cluster: u32,
pub mark: bool,
pub blank: bool,
}Expand description
a glyph of a layout
Fields§
§font: FontId§glyph: u32§pen: [f64; 2]its origin, em units from its line’s origin
advance: f64its advance (em)
cluster: u32the byte where its cluster starts in the text
mark: boola mark (no advance: an accent or vowel sign over its base): it has no cell of its own
blank: boolwhitespace or no outline: no ink, no bar
Trait Implementations§
impl Copy for Placed
impl StructuralPartialEq for Placed
Auto Trait Implementations§
impl Forget for Placed
impl Freeze for Placed
impl Move for Placed
impl RefUnwindSafe for Placed
impl Send for Placed
impl Sync for Placed
impl Unpin for Placed
impl UnsafeUnpin for Placed
impl UnwindSafe for Placed
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