pub struct FontStretch {
pub stretch: i32,
pub shrink: i32,
}Expand description
Stretch and shrink totals of font expansion in a list.
Fields§
§stretch: i32Total stretch (sp).
shrink: i32Total shrink (sp).
Trait Implementations§
Source§impl Clone for FontStretch
impl Clone for FontStretch
impl Copy for FontStretch
Source§impl Debug for FontStretch
impl Debug for FontStretch
Source§impl Default for FontStretch
impl Default for FontStretch
impl Eq for FontStretch
Source§impl PartialEq for FontStretch
impl PartialEq for FontStretch
impl StructuralPartialEq for FontStretch
Auto Trait Implementations§
impl Freeze for FontStretch
impl RefUnwindSafe for FontStretch
impl Send for FontStretch
impl Sync for FontStretch
impl Unpin for FontStretch
impl UnsafeUnpin for FontStretch
impl UnwindSafe for FontStretch
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