Module data

Module data 

Source
Expand description

data module provides data structures used in the crate::Draft

Structs§

Color
RGB color
Shaft
Wrapper for shaft
Thickness
Thickness of a yarn
Threading
Threading in a weaving draft. 1 thread can only be on one shaft
TieUp
A tie-up of a loom
Treadle
Wrapper for Treadle
Treadling
Treadling/Lift Plan Sequence
TreadlingInfo
The treadling or lift plan for a draft, also includes the tie-up and whether the loom is rising or sinking shed
ValidDecimal
Float wrapper that guarantees the value is 0 or a positive Normal float. This allows for a full Eq and hash
Yarn
A yarn that is used in the weaving
YarnPalette
Palette of yarns to be used in the weaving
YarnRepeat
Repeating sequence of yarns used in the warp or weft
YarnSequence
Yarns used in the warp or weft

Enums§

PerUnit
Unit used in weaving
RiseSink
Whether this draft is written for a rising shaft or sinking shaft loom
TieUpCreate
Options when creating a new TieUpKind
TieUpKind
Whether the loom is a direct tie-up or whether treadles can be tied to multiple shafts