pub enum FileFunction {
Copper {
layer: i32,
pos: ExtendedPosition,
copper_type: Option<CopperType>,
},
Soldermask {
pos: Position,
index: Option<i32>,
},
Legend {
pos: Position,
index: Option<i32>,
},
Goldmask {
pos: Position,
index: Option<i32>,
},
Silvermask {
pos: Position,
index: Option<i32>,
},
Tinmask {
pos: Position,
index: Option<i32>,
},
Carbonmask {
pos: Position,
index: Option<i32>,
},
Peelablesoldermask {
pos: Position,
index: Option<i32>,
},
Glue {
pos: Position,
index: Option<i32>,
},
Viatenting(Position),
Viafill,
Heatsink(Position),
Paste(Position),
KeepOut(Position),
Pads(Position),
Scoring(Position),
Plated {
from_layer: i32,
to_layer: i32,
drill: Drill,
label: Option<DrillRouteType>,
},
NonPlated {
from_layer: i32,
to_layer: i32,
drill: Drill,
label: Option<DrillRouteType>,
},
Profile(Profile),
Drillmap,
FabricationDrawing,
ArrayDrawing,
AssemblyDrawing(Position),
Drawing(String),
Other(String),
}
Variants
Copper
Fields of Copper
Soldermask
Fields of Soldermask
Legend
Fields of Legend
Goldmask
Fields of Goldmask
Silvermask
Fields of Silvermask
Tinmask
Fields of Tinmask
Carbonmask
Fields of Carbonmask
Peelablesoldermask
Fields of Peelablesoldermask
Glue
Fields of Glue
Viatenting(Position)
Viafill
Heatsink(Position)
Paste(Position)
KeepOut(Position)
Pads(Position)
Scoring(Position)
Plated
Fields of Plated
NonPlated
Fields of NonPlated
Profile(Profile)
Drillmap
FabricationDrawing
ArrayDrawing
AssemblyDrawing(Position)
Drawing(String)
Other(String)
Trait Implementations
Formats the value using the given formatter.