pub struct Pattern { /* private fields */ }
Expand description

The representation of a knitting pattern.

A pattern will be a rectangle in size.

Implementations

Create a new Pattern from the given Reader.

This will pad the rows so they are all the same total width.

Arguments
  • reader - Where to read the stitches from

Returns the first line number for the pattern

Returns the lines for the pattern

Return what side the pattern starts on

Return if the patter is in the round

Returns the pattern switch width

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.