Struct ttf_parser::PhantomPoints 
source · pub struct PhantomPoints {
    pub left: PointF,
    pub right: PointF,
    pub top: PointF,
    pub bottom: PointF,
}Expand description
Phantom points.
Available only for variable fonts with the gvar table.
Fields§
§left: PointFLeft side bearing point.
right: PointFRight side bearing point.
top: PointFTop side bearing point.
bottom: PointFBottom side bearing point.
Trait Implementations§
source§impl Clone for PhantomPoints
 
impl Clone for PhantomPoints
source§fn clone(&self) -> PhantomPoints
 
fn clone(&self) -> PhantomPoints
Returns a copy 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 PhantomPoints
 
impl Debug for PhantomPoints
impl Copy for PhantomPoints
Auto Trait Implementations§
impl Freeze for PhantomPoints
impl RefUnwindSafe for PhantomPoints
impl Send for PhantomPoints
impl Sync for PhantomPoints
impl Unpin for PhantomPoints
impl UnwindSafe for PhantomPoints
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
source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)