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§
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.
impl<W: Write, G: GerberCode<W>> GerberCode<W> for Vec<G>
Implement GerberCode for Vectors of types that are GerberCode.