GerberCode

Trait GerberCode 

Source
pub trait GerberCode<W: Write> {
    // Required method
    fn serialize(&self, writer: &mut W) -> GerberResult<()>;
}
Expand description

All types that implement this trait can be converted to a complete Gerber Code line. Generated code should end with a newline.

Required Methods§

Source

fn serialize(&self, writer: &mut W) -> GerberResult<()>

Implementations on Foreign Types§

Source§

impl<W: Write, G: GerberCode<W>> GerberCode<W> for Vec<G>

Implement GerberCode for Vectors of types that are GerberCode.

Source§

fn serialize(&self, writer: &mut W) -> GerberResult<()>

Implementors§