pub struct BezierCurveOperation {Show 15 fields
pub ctrl1_x: JavaScriptSafeInteger,
pub ctrl1_y: JavaScriptSafeInteger,
pub ctrl2_x: JavaScriptSafeInteger,
pub ctrl2_y: JavaScriptSafeInteger,
pub end_x: JavaScriptSafeInteger,
pub end_y: JavaScriptSafeInteger,
pub index: u32,
pub kind: String,
pub layer: Option<String>,
pub line_style: Option<PlotterLineStyle>,
pub start_x: JavaScriptSafeInteger,
pub start_y: JavaScriptSafeInteger,
pub stroke_color: Option<String>,
pub tolerance_nm: JavaScriptSafeInteger,
pub width_nm: JavaScriptSafeInteger,
}Expand description
Cubic Bézier shared by symbol and schematic producers.
JSON schema
{
"description": "Cubic Bézier shared by symbol and schematic producers.",
"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"
},
"end_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"end_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"kind": {
"type": "string",
"const": "BezierCurve"
},
"layer": {
"type": "string"
},
"line_style": {
"$ref": "#/$defs/PlotterLineStyle"
},
"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§end_x: JavaScriptSafeInteger§end_y: JavaScriptSafeInteger§index: u32§kind: String§layer: Option<String>§line_style: Option<PlotterLineStyle>§start_x: JavaScriptSafeInteger§start_y: JavaScriptSafeInteger§stroke_color: Option<String>§tolerance_nm: JavaScriptSafeInteger§width_nm: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for BezierCurveOperation
impl Clone for BezierCurveOperation
Source§fn clone(&self) -> BezierCurveOperation
fn clone(&self) -> BezierCurveOperation
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 Debug for BezierCurveOperation
impl Debug for BezierCurveOperation
Source§impl<'de> Deserialize<'de> for BezierCurveOperation
impl<'de> Deserialize<'de> for BezierCurveOperation
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<BezierCurveOperation> for PlotterOperation
impl From<BezierCurveOperation> for PlotterOperation
Source§fn from(value: BezierCurveOperation) -> Self
fn from(value: BezierCurveOperation) -> Self
Converts to this type from the input type.
Source§impl From<BezierCurveOperation> for SchematicSymbolOperation
impl From<BezierCurveOperation> for SchematicSymbolOperation
Source§fn from(value: BezierCurveOperation) -> Self
fn from(value: BezierCurveOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BezierCurveOperation
impl RefUnwindSafe for BezierCurveOperation
impl Send for BezierCurveOperation
impl Sync for BezierCurveOperation
impl Unpin for BezierCurveOperation
impl UnsafeUnpin for BezierCurveOperation
impl UnwindSafe for BezierCurveOperation
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