[][src]Enum knitting_parse::Stitch

pub enum Stitch {
    K,
    P,
    K2Tog,
    P2Tog,
    Ssk,
    Ssp,
    SlKwise,
    SlPwise,
    Yo,
    Bo,
    Mr,
    Ml,
    MKwise,
    MPwise,
    Kfb,
    Kbf,
    Pfb,
    Pbf,
    Ktbl,
    Ptbl,
    NoStitch,
    Bobble,
    Bead,
    Lcf1,
    Rcb1,
    Lcf2,
    Rcb2,
    Lcf3,
    Rcb3,
    Lcf4,
    Rcb4,
}

The supported stitches

Variants

K
P
K2Tog
P2Tog
Ssk
Ssp
SlKwise
SlPwise
Yo
Bo
Mr
Ml
MKwise
MPwise
Kfb
Kbf
Pfb
Pbf
Ktbl
Ptbl
NoStitch
Bobble
Bead
Lcf1
Rcb1
Lcf2
Rcb2
Lcf3
Rcb3
Lcf4
Rcb4

Implementations

impl Stitch[src]

pub fn width(&self) -> usize[src]

Returns the width of the stitch.

This is useful when trying to layout the stitches next to each other.

Trait Implementations

impl Clone for Stitch[src]

impl Copy for Stitch[src]

impl Debug for Stitch[src]

impl Eq for Stitch[src]

impl Hash for Stitch[src]

impl PartialEq<Stitch> for Stitch[src]

impl StructuralEq for Stitch[src]

impl StructuralPartialEq for Stitch[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.