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<'a>), FlatnessTolerance(FlatnessTolerance), SetGraphicsState(SetGraphicsState<'a>), 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<'a>), ColorSpaceNonStroke(ColorSpaceNonStroke<'a>), StrokeColor(StrokeColor), StrokeColorNamed(StrokeColorNamed<'a>), NonStrokeColor(NonStrokeColor), NonStrokeColorNamed(NonStrokeColorNamed<'a>), StrokeColorDeviceGray(StrokeColorDeviceGray), NonStrokeColorDeviceGray(NonStrokeColorDeviceGray), StrokeColorDeviceRgb(StrokeColorDeviceRgb), NonStrokeColorDeviceRgb(NonStrokeColorDeviceRgb), StrokeColorCmyk(StrokeColorCmyk), NonStrokeColorCmyk(NonStrokeColorCmyk), Shading(Shading<'a>), XObject(XObject<'a>), InlineImage(InlineImage<'a>), CharacterSpacing(CharacterSpacing), WordSpacing(WordSpacing), HorizontalScaling(HorizontalScaling), TextLeading(TextLeading), TextFont(TextFont<'a>), TextRenderingMode(TextRenderingMode), TextRise(TextRise), BeginText(BeginText), EndText(EndText), NextLine(NextLine), NextLineAndSetLeading(NextLineAndSetLeading), SetTextMatrix(SetTextMatrix), NextLineUsingLeading(NextLineUsingLeading), ShowText(ShowText<'a>), NextLineAndShowText(NextLineAndShowText<'a>), ShowTextWithParameters(ShowTextWithParameters<'a>), ShowTexts(ShowTexts<'a>), ColorGlyph(ColorGlyph), ShapeGlyph(ShapeGlyph), MarkedContentPoint(MarkedContentPoint<'a>), MarkedContentPointWithProperties(MarkedContentPointWithProperties<'a>), BeginMarkedContent(BeginMarkedContent<'a>), BeginMarkedContentWithProperties(BeginMarkedContentWithProperties<'a>), EndMarkedContent(EndMarkedContent), Fallback(Operator<'a>),
}

Variants§

§

BeginCompatibility(BeginCompatibility)

§

EndCompatibility(EndCompatibility)

§

SaveState(SaveState)

§

RestoreState(RestoreState)

§

Transform(Transform)

§

LineWidth(LineWidth)

§

LineCap(LineCap)

§

LineJoin(LineJoin)

§

MiterLimit(MiterLimit)

§

DashPattern(DashPattern<'a>)

§

RenderingIntent(RenderingIntent<'a>)

§

FlatnessTolerance(FlatnessTolerance)

§

SetGraphicsState(SetGraphicsState<'a>)

§

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<'a>)

§

ColorSpaceNonStroke(ColorSpaceNonStroke<'a>)

§

StrokeColor(StrokeColor)

§

StrokeColorNamed(StrokeColorNamed<'a>)

§

NonStrokeColor(NonStrokeColor)

§

NonStrokeColorNamed(NonStrokeColorNamed<'a>)

§

StrokeColorDeviceGray(StrokeColorDeviceGray)

§

NonStrokeColorDeviceGray(NonStrokeColorDeviceGray)

§

StrokeColorDeviceRgb(StrokeColorDeviceRgb)

§

NonStrokeColorDeviceRgb(NonStrokeColorDeviceRgb)

§

StrokeColorCmyk(StrokeColorCmyk)

§

NonStrokeColorCmyk(NonStrokeColorCmyk)

§

Shading(Shading<'a>)

§

XObject(XObject<'a>)

§

InlineImage(InlineImage<'a>)

§

CharacterSpacing(CharacterSpacing)

§

WordSpacing(WordSpacing)

§

HorizontalScaling(HorizontalScaling)

§

TextLeading(TextLeading)

§

TextFont(TextFont<'a>)

§

TextRenderingMode(TextRenderingMode)

§

TextRise(TextRise)

§

BeginText(BeginText)

§

EndText(EndText)

§

NextLine(NextLine)

§

NextLineAndSetLeading(NextLineAndSetLeading)

§

SetTextMatrix(SetTextMatrix)

§

NextLineUsingLeading(NextLineUsingLeading)

§

ShowText(ShowText<'a>)

§

NextLineAndShowText(NextLineAndShowText<'a>)

§

ShowTextWithParameters(ShowTextWithParameters<'a>)

§

ShowTexts(ShowTexts<'a>)

§

ColorGlyph(ColorGlyph)

§

ShapeGlyph(ShapeGlyph)

§

MarkedContentPoint(MarkedContentPoint<'a>)

§

MarkedContentPointWithProperties(MarkedContentPointWithProperties<'a>)

§

BeginMarkedContent(BeginMarkedContent<'a>)

§

BeginMarkedContentWithProperties(BeginMarkedContentWithProperties<'a>)

§

EndMarkedContent(EndMarkedContent)

§

Fallback(Operator<'a>)

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<'a>> for TypedInstruction<'a>

Source§

fn from(value: BeginMarkedContent<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

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

Converts to this type from the input type.
Source§

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

Source§

fn from(value: ColorSpaceStroke<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: MarkedContentPoint<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: NextLineAndShowText<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: NonStrokeColorNamed<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: RenderingIntent<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: SetGraphicsState<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: Shading<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

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

Converts to this type from the input type.
Source§

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

Source§

fn from(value: ShowTextWithParameters<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: StrokeColorNamed<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: TextFont<'a>) -> 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<'a>> for TypedInstruction<'a>

Source§

fn from(value: XObject<'a>) -> 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<'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 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<'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 ColorSpaceStroke<'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 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<'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 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<'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 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<'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 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<'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 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<'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 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<'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 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<'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 ShowTextWithParameters<'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 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<'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 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<'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 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<'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> 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> !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> 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.