Struct ab_glyph::PxScaleFactor
source · [−]Expand description
2D scale factors for use with unscaled metrics.
Fields
horizontal: f32
vertical: f32
Trait Implementations
sourceimpl Clone for PxScaleFactor
impl Clone for PxScaleFactor
sourcefn clone(&self) -> PxScaleFactor
fn clone(&self) -> PxScaleFactor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PxScaleFactor
impl Debug for PxScaleFactor
sourceimpl PartialEq<PxScaleFactor> for PxScaleFactor
impl PartialEq<PxScaleFactor> for PxScaleFactor
sourcefn eq(&self, other: &PxScaleFactor) -> bool
fn eq(&self, other: &PxScaleFactor) -> bool
sourceimpl PartialOrd<PxScaleFactor> for PxScaleFactor
impl PartialOrd<PxScaleFactor> for PxScaleFactor
sourcefn partial_cmp(&self, other: &PxScaleFactor) -> Option<Ordering>
fn partial_cmp(&self, other: &PxScaleFactor) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PxScaleFactor
impl StructuralPartialEq for PxScaleFactor
Auto Trait Implementations
impl RefUnwindSafe for PxScaleFactor
impl Send for PxScaleFactor
impl Sync for PxScaleFactor
impl Unpin for PxScaleFactor
impl UnwindSafe for PxScaleFactor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more