pub enum CompositeGlyphScale {
Scale(F2Dot14),
XY {
x_scale: F2Dot14,
y_scale: F2Dot14,
},
Matrix([[F2Dot14; 2]; 2]),
}
Variants
Scale(F2Dot14)
XY
Matrix([[F2Dot14; 2]; 2])
Trait Implementations
sourceimpl Clone for CompositeGlyphScale
impl Clone for CompositeGlyphScale
sourcefn clone(&self) -> CompositeGlyphScale
fn clone(&self) -> CompositeGlyphScale
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 CompositeGlyphScale
impl Debug for CompositeGlyphScale
sourceimpl From<CompositeGlyphScale> for Matrix2x2F
impl From<CompositeGlyphScale> for Matrix2x2F
sourcefn from(scale: CompositeGlyphScale) -> Self
fn from(scale: CompositeGlyphScale) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CompositeGlyphScale> for CompositeGlyphScale
impl PartialEq<CompositeGlyphScale> for CompositeGlyphScale
sourcefn eq(&self, other: &CompositeGlyphScale) -> bool
fn eq(&self, other: &CompositeGlyphScale) -> bool
sourceimpl WriteBinary<CompositeGlyphScale> for CompositeGlyphScale
impl WriteBinary<CompositeGlyphScale> for CompositeGlyphScale
sourcefn write<C: WriteContext>(
ctxt: &mut C,
scale: CompositeGlyphScale
) -> Result<(), WriteError>
fn write<C: WriteContext>(
ctxt: &mut C,
scale: CompositeGlyphScale
) -> Result<(), WriteError>
Write the binary representation of Self to
ctxt
.impl Copy for CompositeGlyphScale
impl StructuralPartialEq for CompositeGlyphScale
Auto Trait Implementations
impl RefUnwindSafe for CompositeGlyphScale
impl Send for CompositeGlyphScale
impl Sync for CompositeGlyphScale
impl Unpin for CompositeGlyphScale
impl UnwindSafe for CompositeGlyphScale
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
sourceimpl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by
write_dep
.sourcefn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
Write the binary representation of Self to
ctxt
.