pub struct ArcThreePointOperation {Show 14 fields
pub end_x: JavaScriptSafeInteger,
pub end_y: JavaScriptSafeInteger,
pub fill: PlotterFill,
pub fill_color: Option<String>,
pub index: u32,
pub kind: String,
pub layer: Option<String>,
pub line_style: Option<PlotterLineStyle>,
pub mid_x: JavaScriptSafeInteger,
pub mid_y: JavaScriptSafeInteger,
pub start_x: JavaScriptSafeInteger,
pub start_y: JavaScriptSafeInteger,
pub stroke_color: Option<String>,
pub width_nm: JavaScriptSafeInteger,
}Expand description
Solid three-point arc.
JSON schema
{
"description": "Solid three-point arc.",
"type": "object",
"required": [
"end_x",
"end_y",
"fill",
"index",
"kind",
"mid_x",
"mid_y",
"start_x",
"start_y",
"width_nm"
],
"properties": {
"end_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"end_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"fill": {
"$ref": "#/$defs/PlotterFill"
},
"fill_color": {
"type": "string"
},
"index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"kind": {
"type": "string",
"const": "ArcThreePoint"
},
"layer": {
"type": "string"
},
"line_style": {
"$ref": "#/$defs/PlotterLineStyle"
},
"mid_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"mid_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"start_x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"start_y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"stroke_color": {
"type": "string"
},
"width_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§end_x: JavaScriptSafeInteger§end_y: JavaScriptSafeInteger§fill: PlotterFill§fill_color: Option<String>§index: u32§kind: String§layer: Option<String>§line_style: Option<PlotterLineStyle>§mid_x: JavaScriptSafeInteger§mid_y: JavaScriptSafeInteger§start_x: JavaScriptSafeInteger§start_y: JavaScriptSafeInteger§stroke_color: Option<String>§width_nm: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for ArcThreePointOperation
impl Clone for ArcThreePointOperation
Source§fn clone(&self) -> ArcThreePointOperation
fn clone(&self) -> ArcThreePointOperation
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 ArcThreePointOperation
impl Debug for ArcThreePointOperation
Source§impl<'de> Deserialize<'de> for ArcThreePointOperation
impl<'de> Deserialize<'de> for ArcThreePointOperation
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<ArcThreePointOperation> for PlotterOperation
impl From<ArcThreePointOperation> for PlotterOperation
Source§fn from(value: ArcThreePointOperation) -> Self
fn from(value: ArcThreePointOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArcThreePointOperation
impl RefUnwindSafe for ArcThreePointOperation
impl Send for ArcThreePointOperation
impl Sync for ArcThreePointOperation
impl Unpin for ArcThreePointOperation
impl UnsafeUnpin for ArcThreePointOperation
impl UnwindSafe for ArcThreePointOperation
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