pub struct Baselines {
pub first: f32,
pub last: f32,
}Expand description
A text’s first and last alphabetic baselines, as fractions of the canvas (or picture) height, y down.
Fields§
§first: f32The first line’s baseline.
last: f32The last line’s baseline: the first’s for one line.
Trait Implementations§
impl Copy for Baselines
impl StructuralPartialEq for Baselines
Auto Trait Implementations§
impl Freeze for Baselines
impl RefUnwindSafe for Baselines
impl Send for Baselines
impl Sync for Baselines
impl Unpin for Baselines
impl UnsafeUnpin for Baselines
impl UnwindSafe for Baselines
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