pub struct FontDefinition {
pub data: Rc<Vec<u8>>,
pub index: u32,
pub ascender_fudge_in_ems: f32,
pub descender_fudge_in_ems: f32,
}
Fields§
§data: Rc<Vec<u8>>
§index: u32
§ascender_fudge_in_ems: f32
§descender_fudge_in_ems: f32
Trait Implementations§
Source§impl Clone for FontDefinition
impl Clone for FontDefinition
Source§fn clone(&self) -> FontDefinition
fn clone(&self) -> FontDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FontDefinition
impl RefUnwindSafe for FontDefinition
impl !Send for FontDefinition
impl !Sync for FontDefinition
impl Unpin for FontDefinition
impl UnwindSafe for FontDefinition
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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