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 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 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