#[repr(C)]pub struct TextExtents {
pub x_bearing: f64,
pub y_bearing: f64,
pub width: f64,
pub height: f64,
pub x_advance: f64,
pub y_advance: f64,
}
Fields§
§x_bearing: f64
§y_bearing: f64
§width: f64
§height: f64
§x_advance: f64
§y_advance: f64
Trait Implementations§
Source§impl Clone for TextExtents
impl Clone for TextExtents
Source§fn clone(&self) -> TextExtents
fn clone(&self) -> TextExtents
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 moreSource§impl Debug for TextExtents
impl Debug for TextExtents
impl Copy for TextExtents
Auto Trait Implementations§
impl Freeze for TextExtents
impl RefUnwindSafe for TextExtents
impl Send for TextExtents
impl Sync for TextExtents
impl Unpin for TextExtents
impl UnwindSafe for TextExtents
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