Skip to main content

TypedInstruction

Enum TypedInstruction 

Source
pub enum TypedInstruction<'a> {
Show 72 variants BeginCompatibility(BeginCompatibility), EndCompatibility(EndCompatibility), SaveState(SaveState), RestoreState(RestoreState), Transform(Transform), LineWidth(LineWidth), LineCap(LineCap), LineJoin(LineJoin), MiterLimit(MiterLimit), DashPattern(DashPattern<'a>), RenderingIntent(RenderingIntent), FlatnessTolerance(FlatnessTolerance), SetGraphicsState(SetGraphicsState), MoveTo(MoveTo), LineTo(LineTo), CubicTo(CubicTo), CubicStartTo(CubicStartTo), CubicEndTo(CubicEndTo), ClosePath(ClosePath), RectPath(RectPath), StrokePath(StrokePath), CloseAndStrokePath(CloseAndStrokePath), FillPathNonZero(FillPathNonZero), FillPathNonZeroCompatibility(FillPathNonZeroCompatibility), FillPathEvenOdd(FillPathEvenOdd), FillAndStrokeNonZero(FillAndStrokeNonZero), FillAndStrokeEvenOdd(FillAndStrokeEvenOdd), CloseFillAndStrokeNonZero(CloseFillAndStrokeNonZero), CloseFillAndStrokeEvenOdd(CloseFillAndStrokeEvenOdd), EndPath(EndPath), ClipNonZero(ClipNonZero), ClipEvenOdd(ClipEvenOdd), ColorSpaceStroke(ColorSpaceStroke), ColorSpaceNonStroke(ColorSpaceNonStroke), StrokeColor(StrokeColor), StrokeColorNamed(StrokeColorNamed), NonStrokeColor(NonStrokeColor), NonStrokeColorNamed(NonStrokeColorNamed), StrokeColorDeviceGray(StrokeColorDeviceGray), NonStrokeColorDeviceGray(NonStrokeColorDeviceGray), StrokeColorDeviceRgb(StrokeColorDeviceRgb), NonStrokeColorDeviceRgb(NonStrokeColorDeviceRgb), StrokeColorCmyk(StrokeColorCmyk), NonStrokeColorCmyk(NonStrokeColorCmyk), Shading(Shading), XObject(XObject), InlineImage(InlineImage<'a>), CharacterSpacing(CharacterSpacing), WordSpacing(WordSpacing), HorizontalScaling(HorizontalScaling), TextLeading(TextLeading), TextFont(TextFont), TextRenderingMode(TextRenderingMode), TextRise(TextRise), BeginText(BeginText), EndText(EndText), NextLine(NextLine), NextLineAndSetLeading(NextLineAndSetLeading), SetTextMatrix(SetTextMatrix), NextLineUsingLeading(NextLineUsingLeading), ShowText(ShowText), NextLineAndShowText(NextLineAndShowText), ShowTextWithParameters(ShowTextWithParameters), ShowTexts(ShowTexts<'a>), ColorGlyph(ColorGlyph), ShapeGlyph(ShapeGlyph), MarkedContentPoint(MarkedContentPoint), MarkedContentPointWithProperties(MarkedContentPointWithProperties<'a>), BeginMarkedContent(BeginMarkedContent), BeginMarkedContentWithProperties(BeginMarkedContentWithProperties<'a>), EndMarkedContent(EndMarkedContent), Fallback(Operator),
}

Variants§

§

BeginCompatibility(BeginCompatibility)

§

EndCompatibility(EndCompatibility)

§

SaveState(SaveState)

§

RestoreState(RestoreState)

§

Transform(Transform)

§

LineWidth(LineWidth)

§

LineCap(LineCap)

§

LineJoin(LineJoin)

§

MiterLimit(MiterLimit)

§

DashPattern(DashPattern<'a>)

§

RenderingIntent(RenderingIntent)

§

FlatnessTolerance(FlatnessTolerance)

§

SetGraphicsState(SetGraphicsState)

§

MoveTo(MoveTo)

§

LineTo(LineTo)

§

CubicTo(CubicTo)

§

CubicStartTo(CubicStartTo)

§

CubicEndTo(CubicEndTo)

§

ClosePath(ClosePath)

§

RectPath(RectPath)

§

StrokePath(StrokePath)

§

CloseAndStrokePath(CloseAndStrokePath)

§

FillPathNonZero(FillPathNonZero)

§

FillPathNonZeroCompatibility(FillPathNonZeroCompatibility)

§

FillPathEvenOdd(FillPathEvenOdd)

§

FillAndStrokeNonZero(FillAndStrokeNonZero)

§

FillAndStrokeEvenOdd(FillAndStrokeEvenOdd)

§

CloseFillAndStrokeNonZero(CloseFillAndStrokeNonZero)

§

CloseFillAndStrokeEvenOdd(CloseFillAndStrokeEvenOdd)

§

EndPath(EndPath)

§

ClipNonZero(ClipNonZero)

§

ClipEvenOdd(ClipEvenOdd)

§

ColorSpaceStroke(ColorSpaceStroke)

§

ColorSpaceNonStroke(ColorSpaceNonStroke)

§

StrokeColor(StrokeColor)

§

StrokeColorNamed(StrokeColorNamed)

§

NonStrokeColor(NonStrokeColor)

§

NonStrokeColorNamed(NonStrokeColorNamed)

§

StrokeColorDeviceGray(StrokeColorDeviceGray)

§

NonStrokeColorDeviceGray(NonStrokeColorDeviceGray)

§

StrokeColorDeviceRgb(StrokeColorDeviceRgb)

§

NonStrokeColorDeviceRgb(NonStrokeColorDeviceRgb)

§

StrokeColorCmyk(StrokeColorCmyk)

§

NonStrokeColorCmyk(NonStrokeColorCmyk)

§

Shading(Shading)

§

XObject(XObject)

§

InlineImage(InlineImage<'a>)

§

CharacterSpacing(CharacterSpacing)

§

WordSpacing(WordSpacing)

§

HorizontalScaling(HorizontalScaling)

§

TextLeading(TextLeading)

§

TextFont(TextFont)

§

TextRenderingMode(TextRenderingMode)

§

TextRise(TextRise)

§

BeginText(BeginText)

§

EndText(EndText)

§

NextLine(NextLine)

§

NextLineAndSetLeading(NextLineAndSetLeading)

§

SetTextMatrix(SetTextMatrix)

§

NextLineUsingLeading(NextLineUsingLeading)

§

ShowText(ShowText)

§

NextLineAndShowText(NextLineAndShowText)

§

ShowTextWithParameters(ShowTextWithParameters)

§

ShowTexts(ShowTexts<'a>)

§

ColorGlyph(ColorGlyph)

§

ShapeGlyph(ShapeGlyph)

§

MarkedContentPoint(MarkedContentPoint)

§

MarkedContentPointWithProperties(MarkedContentPointWithProperties<'a>)

§

BeginMarkedContent(BeginMarkedContent)

§

BeginMarkedContentWithProperties(BeginMarkedContentWithProperties<'a>)

§

EndMarkedContent(EndMarkedContent)

§

Fallback(Operator)

Trait Implementations§

Source§

impl<'a> Clone for TypedInstruction<'a>

Source§

fn clone(&self) -> TypedInstruction<'a>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for TypedInstruction<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<BeginCompatibility> for TypedInstruction<'a>

Source§

fn from(value: BeginCompatibility) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<BeginMarkedContent> for TypedInstruction<'a>

Source§

fn from(value: BeginMarkedContent) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<BeginMarkedContentWithProperties<'a>> for TypedInstruction<'a>

Source§

fn from(value: BeginMarkedContentWithProperties<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<BeginText> for TypedInstruction<'a>

Source§

fn from(value: BeginText) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CharacterSpacing> for TypedInstruction<'a>

Source§

fn from(value: CharacterSpacing) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ClipEvenOdd> for TypedInstruction<'a>

Source§

fn from(value: ClipEvenOdd) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ClipNonZero> for TypedInstruction<'a>

Source§

fn from(value: ClipNonZero) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CloseAndStrokePath> for TypedInstruction<'a>

Source§

fn from(value: CloseAndStrokePath) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CloseFillAndStrokeEvenOdd> for TypedInstruction<'a>

Source§

fn from(value: CloseFillAndStrokeEvenOdd) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CloseFillAndStrokeNonZero> for TypedInstruction<'a>

Source§

fn from(value: CloseFillAndStrokeNonZero) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ClosePath> for TypedInstruction<'a>

Source§

fn from(value: ClosePath) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ColorGlyph> for TypedInstruction<'a>

Source§

fn from(value: ColorGlyph) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ColorSpaceNonStroke> for TypedInstruction<'a>

Source§

fn from(value: ColorSpaceNonStroke) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ColorSpaceStroke> for TypedInstruction<'a>

Source§

fn from(value: ColorSpaceStroke) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CubicEndTo> for TypedInstruction<'a>

Source§

fn from(value: CubicEndTo) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CubicStartTo> for TypedInstruction<'a>

Source§

fn from(value: CubicStartTo) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<CubicTo> for TypedInstruction<'a>

Source§

fn from(value: CubicTo) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<DashPattern<'a>> for TypedInstruction<'a>

Source§

fn from(value: DashPattern<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<EndCompatibility> for TypedInstruction<'a>

Source§

fn from(value: EndCompatibility) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<EndMarkedContent> for TypedInstruction<'a>

Source§

fn from(value: EndMarkedContent) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<EndPath> for TypedInstruction<'a>

Source§

fn from(value: EndPath) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<EndText> for TypedInstruction<'a>

Source§

fn from(value: EndText) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FillAndStrokeEvenOdd> for TypedInstruction<'a>

Source§

fn from(value: FillAndStrokeEvenOdd) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FillAndStrokeNonZero> for TypedInstruction<'a>

Source§

fn from(value: FillAndStrokeNonZero) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FillPathEvenOdd> for TypedInstruction<'a>

Source§

fn from(value: FillPathEvenOdd) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FillPathNonZero> for TypedInstruction<'a>

Source§

fn from(value: FillPathNonZero) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FillPathNonZeroCompatibility> for TypedInstruction<'a>

Source§

fn from(value: FillPathNonZeroCompatibility) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<FlatnessTolerance> for TypedInstruction<'a>

Source§

fn from(value: FlatnessTolerance) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<HorizontalScaling> for TypedInstruction<'a>

Source§

fn from(value: HorizontalScaling) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<InlineImage<'a>> for TypedInstruction<'a>

Source§

fn from(value: InlineImage<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<LineCap> for TypedInstruction<'a>

Source§

fn from(value: LineCap) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<LineJoin> for TypedInstruction<'a>

Source§

fn from(value: LineJoin) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<LineTo> for TypedInstruction<'a>

Source§

fn from(value: LineTo) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<LineWidth> for TypedInstruction<'a>

Source§

fn from(value: LineWidth) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<MarkedContentPoint> for TypedInstruction<'a>

Source§

fn from(value: MarkedContentPoint) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<MarkedContentPointWithProperties<'a>> for TypedInstruction<'a>

Source§

fn from(value: MarkedContentPointWithProperties<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<MiterLimit> for TypedInstruction<'a>

Source§

fn from(value: MiterLimit) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<MoveTo> for TypedInstruction<'a>

Source§

fn from(value: MoveTo) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NextLine> for TypedInstruction<'a>

Source§

fn from(value: NextLine) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NextLineAndSetLeading> for TypedInstruction<'a>

Source§

fn from(value: NextLineAndSetLeading) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NextLineAndShowText> for TypedInstruction<'a>

Source§

fn from(value: NextLineAndShowText) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NextLineUsingLeading> for TypedInstruction<'a>

Source§

fn from(value: NextLineUsingLeading) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NonStrokeColor> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColor) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NonStrokeColorCmyk> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColorCmyk) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NonStrokeColorDeviceGray> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColorDeviceGray) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NonStrokeColorDeviceRgb> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColorDeviceRgb) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<NonStrokeColorNamed> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColorNamed) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<RectPath> for TypedInstruction<'a>

Source§

fn from(value: RectPath) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<RenderingIntent> for TypedInstruction<'a>

Source§

fn from(value: RenderingIntent) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<RestoreState> for TypedInstruction<'a>

Source§

fn from(value: RestoreState) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<SaveState> for TypedInstruction<'a>

Source§

fn from(value: SaveState) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<SetGraphicsState> for TypedInstruction<'a>

Source§

fn from(value: SetGraphicsState) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<SetTextMatrix> for TypedInstruction<'a>

Source§

fn from(value: SetTextMatrix) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<Shading> for TypedInstruction<'a>

Source§

fn from(value: Shading) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ShapeGlyph> for TypedInstruction<'a>

Source§

fn from(value: ShapeGlyph) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ShowText> for TypedInstruction<'a>

Source§

fn from(value: ShowText) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ShowTextWithParameters> for TypedInstruction<'a>

Source§

fn from(value: ShowTextWithParameters) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<ShowTexts<'a>> for TypedInstruction<'a>

Source§

fn from(value: ShowTexts<'a>) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokeColor> for TypedInstruction<'a>

Source§

fn from(value: StrokeColor) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokeColorCmyk> for TypedInstruction<'a>

Source§

fn from(value: StrokeColorCmyk) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokeColorDeviceGray> for TypedInstruction<'a>

Source§

fn from(value: StrokeColorDeviceGray) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokeColorDeviceRgb> for TypedInstruction<'a>

Source§

fn from(value: StrokeColorDeviceRgb) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokeColorNamed> for TypedInstruction<'a>

Source§

fn from(value: StrokeColorNamed) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<StrokePath> for TypedInstruction<'a>

Source§

fn from(value: StrokePath) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<TextFont> for TypedInstruction<'a>

Source§

fn from(value: TextFont) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<TextLeading> for TypedInstruction<'a>

Source§

fn from(value: TextLeading) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<TextRenderingMode> for TypedInstruction<'a>

Source§

fn from(value: TextRenderingMode) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<TextRise> for TypedInstruction<'a>

Source§

fn from(value: TextRise) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<Transform> for TypedInstruction<'a>

Source§

fn from(value: Transform) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<WordSpacing> for TypedInstruction<'a>

Source§

fn from(value: WordSpacing) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<XObject> for TypedInstruction<'a>

Source§

fn from(value: XObject) -> Self

Converts to this type from the input type.
Source§

impl<'a> PartialEq for TypedInstruction<'a>

Source§

fn eq(&self, other: &TypedInstruction<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for BeginCompatibility

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for BeginMarkedContent

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for BeginMarkedContentWithProperties<'a>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for BeginText

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CharacterSpacing

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ClipEvenOdd

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ClipNonZero

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CloseAndStrokePath

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CloseFillAndStrokeEvenOdd

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CloseFillAndStrokeNonZero

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ClosePath

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ColorGlyph

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ColorSpaceNonStroke

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ColorSpaceStroke

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CubicEndTo

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CubicStartTo

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for CubicTo

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for DashPattern<'a>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for EndCompatibility

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for EndMarkedContent

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for EndPath

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for EndText

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FillAndStrokeEvenOdd

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FillAndStrokeNonZero

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FillPathEvenOdd

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FillPathNonZero

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FillPathNonZeroCompatibility

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for FlatnessTolerance

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for HorizontalScaling

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for InlineImage<'a>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for LineCap

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for LineJoin

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for LineTo

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for LineWidth

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for MarkedContentPoint

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for MarkedContentPointWithProperties<'a>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for MiterLimit

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for MoveTo

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NextLine

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NextLineAndSetLeading

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NextLineAndShowText

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NextLineUsingLeading

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NonStrokeColor

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NonStrokeColorCmyk

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NonStrokeColorDeviceGray

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NonStrokeColorDeviceRgb

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for NonStrokeColorNamed

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for RectPath

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for RenderingIntent

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for RestoreState

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for SaveState

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for SetGraphicsState

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for SetTextMatrix

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for Shading

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ShapeGlyph

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ShowText

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ShowTextWithParameters

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for ShowTexts<'a>

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokeColor

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokeColorCmyk

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokeColorDeviceGray

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokeColorDeviceRgb

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokeColorNamed

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for StrokePath

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for TextFont

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for TextLeading

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for TextRenderingMode

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for TextRise

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for Transform

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for WordSpacing

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<TypedInstruction<'a>> for XObject

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: TypedInstruction<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> StructuralPartialEq for TypedInstruction<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for TypedInstruction<'a>

§

impl<'a> !RefUnwindSafe for TypedInstruction<'a>

§

impl<'a> Send for TypedInstruction<'a>

§

impl<'a> Sync for TypedInstruction<'a>

§

impl<'a> Unpin for TypedInstruction<'a>

§

impl<'a> UnsafeUnpin for TypedInstruction<'a>

§

impl<'a> !UnwindSafe for TypedInstruction<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(value: T, _simd: S) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.