pub enum InstructionKind {
AddPage(PageKind),
DrawLine(LineSpec),
DrawCircle(CircleSpec),
DrawRectangle(RectSpec),
SetDefaultPageSize {
width: LengthValue,
height: LengthValue,
},
SetDefaultWidth(LengthValue),
SetDefaultColor(ColorValue),
SetDefaultCapType(CapType),
SetDefaultAngle(AngleValue),
}Variants§
AddPage(PageKind)
DrawLine(LineSpec)
DrawCircle(CircleSpec)
DrawRectangle(RectSpec)
SetDefaultPageSize
SetDefaultWidth(LengthValue)
SetDefaultColor(ColorValue)
SetDefaultCapType(CapType)
SetDefaultAngle(AngleValue)
Trait Implementations§
Source§impl Clone for InstructionKind
impl Clone for InstructionKind
Source§fn clone(&self) -> InstructionKind
fn clone(&self) -> InstructionKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstructionKind
impl RefUnwindSafe for InstructionKind
impl Send for InstructionKind
impl Sync for InstructionKind
impl Unpin for InstructionKind
impl UnwindSafe for InstructionKind
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