pub struct BoardFootprintRectOperation {Show 18 fields
pub corner_radius_nm: JavaScriptSafeInteger,
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 stroke_color: Option<String>,
pub width_nm: JavaScriptSafeInteger,
pub x1: JavaScriptSafeInteger,
pub x2: JavaScriptSafeInteger,
pub y1: JavaScriptSafeInteger,
pub y2: JavaScriptSafeInteger,
}Expand description
BoardFootprintRectOperation
JSON schema
{
"type": "object",
"required": [
"corner_radius_nm",
"fill",
"index",
"kind",
"width_nm",
"x1",
"x2",
"y1",
"y2"
],
"properties": {
"corner_radius_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"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": "Rect"
},
"label": {
"type": "string"
},
"layer": {
"type": "string"
},
"line_style": {
"$ref": "#/$defs/PlotterLineStyle"
},
"object_id": {
"type": "string"
},
"stroke_color": {
"type": "string"
},
"width_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"x1": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"x2": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"y1": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"y2": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§corner_radius_nm: JavaScriptSafeInteger§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>§stroke_color: Option<String>§width_nm: JavaScriptSafeInteger§x1: JavaScriptSafeInteger§x2: JavaScriptSafeInteger§y1: JavaScriptSafeInteger§y2: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for BoardFootprintRectOperation
impl Clone for BoardFootprintRectOperation
Source§fn clone(&self) -> BoardFootprintRectOperation
fn clone(&self) -> BoardFootprintRectOperation
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 BoardFootprintRectOperation
impl Debug for BoardFootprintRectOperation
Source§impl<'de> Deserialize<'de> for BoardFootprintRectOperation
impl<'de> Deserialize<'de> for BoardFootprintRectOperation
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<BoardFootprintRectOperation> for BoardFootprintOperation
impl From<BoardFootprintRectOperation> for BoardFootprintOperation
Source§fn from(value: BoardFootprintRectOperation) -> Self
fn from(value: BoardFootprintRectOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardFootprintRectOperation
impl RefUnwindSafe for BoardFootprintRectOperation
impl Send for BoardFootprintRectOperation
impl Sync for BoardFootprintRectOperation
impl Unpin for BoardFootprintRectOperation
impl UnsafeUnpin for BoardFootprintRectOperation
impl UnwindSafe for BoardFootprintRectOperation
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