pub struct BoardFootprintBezierCurveOperation {Show 20 fields
pub ctrl1_x: JavaScriptSafeInteger,
pub ctrl1_y: JavaScriptSafeInteger,
pub ctrl2_x: JavaScriptSafeInteger,
pub ctrl2_y: JavaScriptSafeInteger,
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 line_style: Option<PlotterLineStyle>,
pub object_id: Option<String>,
pub start_x: JavaScriptSafeInteger,
pub start_y: JavaScriptSafeInteger,
pub stroke_color: Option<String>,
pub tolerance_nm: JavaScriptSafeInteger,
pub width_nm: JavaScriptSafeInteger,
}Expand description
BoardFootprintBezierCurveOperation
JSON schema
{
"type": "object",
"required": [
"ctrl1_x",
"ctrl1_y",
"ctrl2_x",
"ctrl2_y",
"end_x",
"end_y",
"index",
"kind",
"start_x",
"start_y",
"tolerance_nm",
"width_nm"
],
"properties": {
"ctrl1_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"ctrl1_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"ctrl2_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"ctrl2_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"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": "BezierCurve"
},
"label": {
"type": "string"
},
"layer": {
"type": "string"
},
"line_style": {
"$ref": "#/$defs/PlotterLineStyle"
},
"object_id": {
"type": "string"
},
"start_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"start_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"stroke_color": {
"type": "string"
},
"tolerance_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"width_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§ctrl1_x: JavaScriptSafeInteger§ctrl1_y: JavaScriptSafeInteger§ctrl2_x: JavaScriptSafeInteger§ctrl2_y: JavaScriptSafeInteger§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>§line_style: Option<PlotterLineStyle>§object_id: Option<String>§start_x: JavaScriptSafeInteger§start_y: JavaScriptSafeInteger§stroke_color: Option<String>§tolerance_nm: JavaScriptSafeInteger§width_nm: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for BoardFootprintBezierCurveOperation
impl Clone for BoardFootprintBezierCurveOperation
Source§fn clone(&self) -> BoardFootprintBezierCurveOperation
fn clone(&self) -> BoardFootprintBezierCurveOperation
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 BoardFootprintBezierCurveOperation
impl<'de> Deserialize<'de> for BoardFootprintBezierCurveOperation
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<BoardFootprintBezierCurveOperation> for BoardFootprintOperation
impl From<BoardFootprintBezierCurveOperation> for BoardFootprintOperation
Source§fn from(value: BoardFootprintBezierCurveOperation) -> Self
fn from(value: BoardFootprintBezierCurveOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardFootprintBezierCurveOperation
impl RefUnwindSafe for BoardFootprintBezierCurveOperation
impl Send for BoardFootprintBezierCurveOperation
impl Sync for BoardFootprintBezierCurveOperation
impl Unpin for BoardFootprintBezierCurveOperation
impl UnsafeUnpin for BoardFootprintBezierCurveOperation
impl UnwindSafe for BoardFootprintBezierCurveOperation
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