Struct webgl2_glyph::glyph_brush::ab_glyph::PxScaleFactor [−]
Expand description
2D scale factors for use with unscaled metrics.
Fields
horizontal: f32
vertical: f32
Trait Implementations
impl Clone for PxScaleFactor
impl Clone for PxScaleFactor
pub fn clone(&self) -> PxScaleFactor
pub fn clone(&self) -> PxScaleFactor
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for PxScaleFactor
impl Debug for PxScaleFactor
impl PartialEq<PxScaleFactor> for PxScaleFactor
impl PartialEq<PxScaleFactor> for PxScaleFactor
pub fn eq(&self, other: &PxScaleFactor) -> bool
pub fn eq(&self, other: &PxScaleFactor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PxScaleFactor) -> bool
pub fn ne(&self, other: &PxScaleFactor) -> bool
This method tests for !=
.
impl PartialOrd<PxScaleFactor> for PxScaleFactor
impl PartialOrd<PxScaleFactor> for PxScaleFactor
pub fn partial_cmp(&self, other: &PxScaleFactor) -> Option<Ordering>
pub fn partial_cmp(&self, other: &PxScaleFactor) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl 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
Mutably borrows from an owned value. Read more