pub struct Bar {
pub x0: f64,
pub x1: f64,
pub y0: f64,
pub y1: f64,
pub ink: f64,
}Expand description
a word drawn as one bar when its text is small (em, from its line’s origin): from its ink’s left to its right, from the
baseline to the x-height, ink the share of that box its glyphs cover
Fields§
§x0: f64§x1: f64§y0: f64§y1: f64§ink: f64Trait Implementations§
impl Copy for Bar
impl StructuralPartialEq for Bar
Auto Trait Implementations§
impl Forget for Bar
impl Freeze for Bar
impl Move for Bar
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnsafeUnpin for Bar
impl UnwindSafe for Bar
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