Struct ab_glyph::PxScaleFactor
source · pub struct PxScaleFactor {
pub horizontal: f32,
pub vertical: f32,
}
Expand description
2D scale factors for use with unscaled metrics.
Fields§
§horizontal: f32
§vertical: f32
Trait Implementations§
source§impl Clone for PxScaleFactor
impl Clone for PxScaleFactor
source§fn clone(&self) -> PxScaleFactor
fn clone(&self) -> PxScaleFactor
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 PxScaleFactor
impl Debug for PxScaleFactor
source§impl PartialEq for PxScaleFactor
impl PartialEq for PxScaleFactor
source§impl PartialOrd for PxScaleFactor
impl PartialOrd for PxScaleFactor
impl Copy for PxScaleFactor
impl StructuralPartialEq for PxScaleFactor
Auto Trait Implementations§
impl Freeze for PxScaleFactor
impl RefUnwindSafe for PxScaleFactor
impl Send for PxScaleFactor
impl Sync for PxScaleFactor
impl Unpin for PxScaleFactor
impl UnwindSafe for PxScaleFactor
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)