[][src]Enum gerber_types::FileFunction

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

layer: i32pos: ExtendedPositioncopper_type: Option<CopperType>
Soldermask

Fields of Soldermask

pos: Positionindex: Option<i32>
Legend

Fields of Legend

pos: Positionindex: Option<i32>
Goldmask

Fields of Goldmask

pos: Positionindex: Option<i32>
Silvermask

Fields of Silvermask

pos: Positionindex: Option<i32>
Tinmask

Fields of Tinmask

pos: Positionindex: Option<i32>
Carbonmask

Fields of Carbonmask

pos: Positionindex: Option<i32>
Peelablesoldermask

Fields of Peelablesoldermask

pos: Positionindex: Option<i32>
Glue

Fields of Glue

pos: Positionindex: Option<i32>
Viatenting(Position)
Viafill
Heatsink(Position)
Paste(Position)
KeepOut(Position)
Pads(Position)
Scoring(Position)
Plated

Fields of Plated

from_layer: i32to_layer: i32drill: Drilllabel: Option<DrillRouteType>
NonPlated

Fields of NonPlated

from_layer: i32to_layer: i32drill: Drilllabel: Option<DrillRouteType>
Profile(Profile)
Drillmap
FabricationDrawing
ArrayDrawing
AssemblyDrawing(Position)
Drawing(String)
Other(String)

Trait Implementations

impl Clone for FileFunction[src]

impl Debug for FileFunction[src]

impl Eq for FileFunction[src]

impl PartialEq<FileFunction> for FileFunction[src]

impl StructuralEq for FileFunction[src]

impl StructuralPartialEq for FileFunction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
    Scheme: ApproxScheme
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
    Scheme: ApproxScheme,
    Dst: ApproxFrom<Src, Scheme>, 
[src]

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, Dst> ConvAsUtil<Dst> for T[src]

impl<T> ConvUtil for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Src> TryFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<Src, Dst> TryInto<Dst> for Src where
    Dst: TryFrom<Src>, 
[src]

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<Src> ValueFrom<Src> for Src[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto<Dst> for Src where
    Dst: ValueFrom<Src>, 
[src]

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.