pub struct FlashPadTrapezOperation {
pub corners: PlotterQuad,
pub index: u32,
pub kind: String,
pub layers: Vec<String>,
pub mask_margin_nm: JavaScriptSafeInteger,
pub orient_deg: f64,
pub x: JavaScriptSafeInteger,
pub y: JavaScriptSafeInteger,
}Expand description
Trapezoid pad flash shared by footprint and PCB producers.
JSON schema
{
"description": "Trapezoid pad flash shared by footprint and PCB producers.",
"type": "object",
"required": [
"corners",
"index",
"kind",
"layers",
"mask_margin_nm",
"orient_deg",
"x",
"y"
],
"properties": {
"corners": {
"$ref": "#/$defs/PlotterQuad"
},
"index": {
"type": "integer",
"maximum": 4294967295.0,
"minimum": 0.0
},
"kind": {
"type": "string",
"const": "FlashPadTrapez"
},
"layers": {
"type": "array",
"items": {
"type": "string"
}
},
"mask_margin_nm": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"orient_deg": {
"type": "number"
},
"x": {
"$ref": "#/$defs/JavaScriptSafeInteger"
},
"y": {
"$ref": "#/$defs/JavaScriptSafeInteger"
}
},
"additionalProperties": false
}Fields§
§corners: PlotterQuad§index: u32§kind: String§layers: Vec<String>§mask_margin_nm: JavaScriptSafeInteger§orient_deg: f64§x: JavaScriptSafeInteger§y: JavaScriptSafeIntegerTrait Implementations§
Source§impl Clone for FlashPadTrapezOperation
impl Clone for FlashPadTrapezOperation
Source§fn clone(&self) -> FlashPadTrapezOperation
fn clone(&self) -> FlashPadTrapezOperation
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 FlashPadTrapezOperation
impl Debug for FlashPadTrapezOperation
Source§impl<'de> Deserialize<'de> for FlashPadTrapezOperation
impl<'de> Deserialize<'de> for FlashPadTrapezOperation
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<FlashPadTrapezOperation> for PlotterOperation
impl From<FlashPadTrapezOperation> for PlotterOperation
Source§fn from(value: FlashPadTrapezOperation) -> Self
fn from(value: FlashPadTrapezOperation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FlashPadTrapezOperation
impl RefUnwindSafe for FlashPadTrapezOperation
impl Send for FlashPadTrapezOperation
impl Sync for FlashPadTrapezOperation
impl Unpin for FlashPadTrapezOperation
impl UnsafeUnpin for FlashPadTrapezOperation
impl UnwindSafe for FlashPadTrapezOperation
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