Enum read_fonts::tables::colr::Paint
source · pub enum Paint<'a> {
Show 32 variants
ColrLayers(PaintColrLayers<'a>),
Solid(PaintSolid<'a>),
VarSolid(PaintVarSolid<'a>),
LinearGradient(PaintLinearGradient<'a>),
VarLinearGradient(PaintVarLinearGradient<'a>),
RadialGradient(PaintRadialGradient<'a>),
VarRadialGradient(PaintVarRadialGradient<'a>),
SweepGradient(PaintSweepGradient<'a>),
VarSweepGradient(PaintVarSweepGradient<'a>),
Glyph(PaintGlyph<'a>),
ColrGlyph(PaintColrGlyph<'a>),
Transform(PaintTransform<'a>),
VarTransform(PaintVarTransform<'a>),
Translate(PaintTranslate<'a>),
VarTranslate(PaintVarTranslate<'a>),
Scale(PaintScale<'a>),
VarScale(PaintVarScale<'a>),
ScaleAroundCenter(PaintScaleAroundCenter<'a>),
VarScaleAroundCenter(PaintVarScaleAroundCenter<'a>),
ScaleUniform(PaintScaleUniform<'a>),
VarScaleUniform(PaintVarScaleUniform<'a>),
ScaleUniformAroundCenter(PaintScaleUniformAroundCenter<'a>),
VarScaleUniformAroundCenter(PaintVarScaleUniformAroundCenter<'a>),
Rotate(PaintRotate<'a>),
VarRotate(PaintVarRotate<'a>),
RotateAroundCenter(PaintRotateAroundCenter<'a>),
VarRotateAroundCenter(PaintVarRotateAroundCenter<'a>),
Skew(PaintSkew<'a>),
VarSkew(PaintVarSkew<'a>),
SkewAroundCenter(PaintSkewAroundCenter<'a>),
VarSkewAroundCenter(PaintVarSkewAroundCenter<'a>),
Composite(PaintComposite<'a>),
}
Expand description
Paint tables
Variants§
ColrLayers(PaintColrLayers<'a>)
Solid(PaintSolid<'a>)
VarSolid(PaintVarSolid<'a>)
LinearGradient(PaintLinearGradient<'a>)
VarLinearGradient(PaintVarLinearGradient<'a>)
RadialGradient(PaintRadialGradient<'a>)
VarRadialGradient(PaintVarRadialGradient<'a>)
SweepGradient(PaintSweepGradient<'a>)
VarSweepGradient(PaintVarSweepGradient<'a>)
Glyph(PaintGlyph<'a>)
ColrGlyph(PaintColrGlyph<'a>)
Transform(PaintTransform<'a>)
VarTransform(PaintVarTransform<'a>)
Translate(PaintTranslate<'a>)
VarTranslate(PaintVarTranslate<'a>)
Scale(PaintScale<'a>)
VarScale(PaintVarScale<'a>)
ScaleAroundCenter(PaintScaleAroundCenter<'a>)
VarScaleAroundCenter(PaintVarScaleAroundCenter<'a>)
ScaleUniform(PaintScaleUniform<'a>)
VarScaleUniform(PaintVarScaleUniform<'a>)
ScaleUniformAroundCenter(PaintScaleUniformAroundCenter<'a>)
VarScaleUniformAroundCenter(PaintVarScaleUniformAroundCenter<'a>)
Rotate(PaintRotate<'a>)
VarRotate(PaintVarRotate<'a>)
RotateAroundCenter(PaintRotateAroundCenter<'a>)
VarRotateAroundCenter(PaintVarRotateAroundCenter<'a>)
Skew(PaintSkew<'a>)
VarSkew(PaintVarSkew<'a>)
SkewAroundCenter(PaintSkewAroundCenter<'a>)
VarSkewAroundCenter(PaintVarSkewAroundCenter<'a>)
Composite(PaintComposite<'a>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Paint<'a>
impl<'a> RefUnwindSafe for Paint<'a>
impl<'a> Send for Paint<'a>
impl<'a> Sync for Paint<'a>
impl<'a> Unpin for Paint<'a>
impl<'a> UnwindSafe for Paint<'a>
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