pub enum FileFunction {
Show 27 variants
Copper {
layer: i32,
pos: ExtendedPosition,
copper_type: Option<CopperType>,
},
Plated {
from_layer: i32,
to_layer: i32,
drill: PlatedDrill,
label: Option<DrillRouteType>,
},
NonPlated {
from_layer: i32,
to_layer: i32,
drill: NonPlatedDrill,
label: Option<DrillRouteType>,
},
Profile(Option<Profile>),
KeepOut(Position),
SolderMask {
pos: Position,
index: Option<i32>,
},
Legend {
pos: Position,
index: Option<i32>,
},
Component {
layer: i32,
pos: Position,
},
Paste(Position),
Glue(Position),
CarbonMask {
pos: Position,
index: Option<i32>,
},
GoldMask {
pos: Position,
index: Option<i32>,
},
HeatsinkMask {
pos: Position,
index: Option<i32>,
},
PeelableMask {
pos: Position,
index: Option<i32>,
},
SilverMask {
pos: Position,
index: Option<i32>,
},
TinMask {
pos: Position,
index: Option<i32>,
},
DepthRoute(Position),
VCut(Option<Position>),
ViaFill,
Pads(Position),
Other(String),
DrillMap,
FabricationDrawing,
VCutMap,
AssemblyDrawing(Position),
ArrayDrawing,
OtherDrawing(String),
}
Variants§
Copper
Plated
NonPlated
Profile(Option<Profile>)
Apparently, this should be used instead of KeepOut
since 2017.11, see “11.15 Revision 2017.11” but this makes no sense
Since keep-out has a Position
but Profile does not…
Additionally, DipTrace does not specify the ‘N/NP’, e.g. “%TF.FileFunction,Profile*%”
KeepOut(Position)
SolderMask
Legend
Component
Paste(Position)
Glue(Position)
CarbonMask
GoldMask
HeatsinkMask
PeelableMask
SilverMask
TinMask
DepthRoute(Position)
VCut(Option<Position>)
ViaFill
Contains the via’s that must be filled (usually with some form of epoxy)
Pads(Position)
Other(String)
DrillMap
FabricationDrawing
VCutMap
AssemblyDrawing(Position)
ArrayDrawing
OtherDrawing(String)
Trait Implementations§
Source§impl Clone for FileFunction
impl Clone for FileFunction
Source§fn clone(&self) -> FileFunction
fn clone(&self) -> FileFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileFunction
impl Debug for FileFunction
Source§impl Hash for FileFunction
impl Hash for FileFunction
Source§impl PartialEq for FileFunction
impl PartialEq for FileFunction
impl Eq for FileFunction
impl StructuralPartialEq for FileFunction
Auto Trait Implementations§
impl Freeze for FileFunction
impl RefUnwindSafe for FileFunction
impl Send for FileFunction
impl Sync for FileFunction
impl Unpin for FileFunction
impl UnwindSafe for FileFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more