pub struct BoardFootprintThickSegmentOperation {Show 19 fields
pub data_ref: Option<BoardFootprintChildRef>,
pub data_uuid: Option<String>,
pub end_x: JavaScriptSafeInteger,
pub end_y: JavaScriptSafeInteger,
pub extra_attrs: Option<BoardFootprintChildAttrs>,
pub index: u32,
pub kind: String,
pub label: Option<String>,
pub layer: Option<String>,
pub layers: Vec<String>,
pub mask_margin_nm: Option<JavaScriptSafeInteger>,
pub object_id: Option<String>,
pub pad_size_x_nm: Option<JavaScriptSafeInteger>,
pub pad_size_y_nm: Option<JavaScriptSafeInteger>,
pub role: Option<PlotterDrillRole>,
pub start_x: JavaScriptSafeInteger,
pub start_y: JavaScriptSafeInteger,
pub stroke_color: Option<String>,
pub width_nm: JavaScriptSafeInteger,
}Expand description
BoardFootprintThickSegmentOperation
JSON schema
{
"type": "object",
"required": [
"end_x",
"end_y",
"index",
"kind",
"start_x",
"start_y",
"width_nm"
],
"properties": {
"data_ref": {
"$ref": "#/$defs/BoardFootprintChildRef"
},
"data_uuid": {
"type": "string"
},
"end_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"end_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"extra_attrs": {
"$ref": "#/$defs/BoardFootprintChildAttrs"
},
"index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"kind": {
"type": "string",
"const": "ThickSegment"
},
"label": {
"type": "string"
},
"layer": {
"type": "string"
},
"layers": {
"type": "array",
"items": {
"type": "string"
}
},
"mask_margin_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"object_id": {
"type": "string"
},
"pad_size_x_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"pad_size_y_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"role": {
"$ref": "#/$defs/PlotterDrillRole"
},
"start_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"start_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"stroke_color": {
"type": "string"
},
"width_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§data_ref: Option<BoardFootprintChildRef>§data_uuid: Option<String>§end_x: JavaScriptSafeInteger§end_y: JavaScriptSafeInteger§extra_attrs: Option<BoardFootprintChildAttrs>§index: u32§kind: String§label: Option<String>§layer: Option<String>§layers: Vec<String>§mask_margin_nm: Option<JavaScriptSafeInteger>§object_id: Option<String>§pad_size_x_nm: Option<JavaScriptSafeInteger>§pad_size_y_nm: Option<JavaScriptSafeInteger>§role: Option<PlotterDrillRole>§start_x: JavaScriptSafeInteger§start_y: JavaScriptSafeInteger§stroke_color: Option<String>§width_nm: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for BoardFootprintThickSegmentOperation
impl Clone for BoardFootprintThickSegmentOperation
Source§fn clone(&self) -> BoardFootprintThickSegmentOperation
fn clone(&self) -> BoardFootprintThickSegmentOperation
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 BoardFootprintThickSegmentOperation
impl<'de> Deserialize<'de> for BoardFootprintThickSegmentOperation
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<BoardFootprintThickSegmentOperation> for BoardFootprintOperation
impl From<BoardFootprintThickSegmentOperation> for BoardFootprintOperation
Source§fn from(value: BoardFootprintThickSegmentOperation) -> Self
fn from(value: BoardFootprintThickSegmentOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardFootprintThickSegmentOperation
impl RefUnwindSafe for BoardFootprintThickSegmentOperation
impl Send for BoardFootprintThickSegmentOperation
impl Sync for BoardFootprintThickSegmentOperation
impl Unpin for BoardFootprintThickSegmentOperation
impl UnsafeUnpin for BoardFootprintThickSegmentOperation
impl UnwindSafe for BoardFootprintThickSegmentOperation
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