pub struct BoardFootprintPlotPolyOperation {Show 14 fields
pub data_ref: Option<BoardFootprintChildRef>,
pub data_uuid: Option<String>,
pub extra_attrs: Option<BoardFootprintChildAttrs>,
pub fill: PlotterFill,
pub fill_color: Option<String>,
pub index: u32,
pub kind: String,
pub label: Option<String>,
pub layer: Option<String>,
pub line_style: Option<PlotterLineStyle>,
pub object_id: Option<String>,
pub points: Vec<PlotterPoint>,
pub stroke_color: Option<String>,
pub width_nm: JavaScriptSafeInteger,
}Expand description
BoardFootprintPlotPolyOperation
JSON schema
{
"type": "object",
"required": [
"fill",
"index",
"kind",
"points",
"width_nm"
],
"properties": {
"data_ref": {
"$ref": "#/$defs/BoardFootprintChildRef"
},
"data_uuid": {
"type": "string"
},
"extra_attrs": {
"$ref": "#/$defs/BoardFootprintChildAttrs"
},
"fill": {
"$ref": "#/$defs/PlotterFill"
},
"fill_color": {
"type": "string"
},
"index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"kind": {
"type": "string",
"const": "PlotPoly"
},
"label": {
"type": "string"
},
"layer": {
"type": "string"
},
"line_style": {
"$ref": "#/$defs/PlotterLineStyle"
},
"object_id": {
"type": "string"
},
"points": {
"type": "array",
"items": {
"$ref": "#/$defs/PlotterPoint"
}
},
"stroke_color": {
"type": "string"
},
"width_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§data_ref: Option<BoardFootprintChildRef>§data_uuid: Option<String>§extra_attrs: Option<BoardFootprintChildAttrs>§fill: PlotterFill§fill_color: Option<String>§index: u32§kind: String§label: Option<String>§layer: Option<String>§line_style: Option<PlotterLineStyle>§object_id: Option<String>§points: Vec<PlotterPoint>§stroke_color: Option<String>§width_nm: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for BoardFootprintPlotPolyOperation
impl Clone for BoardFootprintPlotPolyOperation
Source§fn clone(&self) -> BoardFootprintPlotPolyOperation
fn clone(&self) -> BoardFootprintPlotPolyOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BoardFootprintPlotPolyOperation
impl<'de> Deserialize<'de> for BoardFootprintPlotPolyOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BoardFootprintPlotPolyOperation> for BoardFootprintOperation
impl From<BoardFootprintPlotPolyOperation> for BoardFootprintOperation
Source§fn from(value: BoardFootprintPlotPolyOperation) -> Self
fn from(value: BoardFootprintPlotPolyOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardFootprintPlotPolyOperation
impl RefUnwindSafe for BoardFootprintPlotPolyOperation
impl Send for BoardFootprintPlotPolyOperation
impl Sync for BoardFootprintPlotPolyOperation
impl Unpin for BoardFootprintPlotPolyOperation
impl UnsafeUnpin for BoardFootprintPlotPolyOperation
impl UnwindSafe for BoardFootprintPlotPolyOperation
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