Trait gerber_types::GerberCode
source · [−]pub trait GerberCode<W: Write> {
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
sourceimpl<W: Write, G: GerberCode<W>> GerberCode<W> for Vec<G>
impl<W: Write, G: GerberCode<W>> GerberCode<W> for Vec<G>
Implement GerberCode
for Vectors of types that are GerberCode
.