pub struct PcbGraphic {Show 15 fields
pub token: String,
pub layer: Option<String>,
pub text: Option<String>,
pub start: Option<[f64; 2]>,
pub end: Option<[f64; 2]>,
pub center: Option<[f64; 2]>,
pub uuid: Option<String>,
pub locked: bool,
pub width: Option<f64>,
pub stroke_type: Option<String>,
pub fill_type: Option<String>,
pub at: Option<[f64; 2]>,
pub angle: Option<f64>,
pub font_size: Option<[f64; 2]>,
pub font_thickness: Option<f64>,
}Expand description
PCB (.kicad_pcb) APIs.
Fields§
§token: String§layer: Option<String>§text: Option<String>§start: Option<[f64; 2]>§end: Option<[f64; 2]>§center: Option<[f64; 2]>§uuid: Option<String>§locked: bool§width: Option<f64>§stroke_type: Option<String>§fill_type: Option<String>§at: Option<[f64; 2]>§angle: Option<f64>§font_size: Option<[f64; 2]>§font_thickness: Option<f64>Trait Implementations§
Source§impl Clone for PcbGraphic
impl Clone for PcbGraphic
Source§fn clone(&self) -> PcbGraphic
fn clone(&self) -> PcbGraphic
Returns a duplicate of the value. Read more
1.0.0 · 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 PcbGraphic
impl Debug for PcbGraphic
Source§impl PartialEq for PcbGraphic
impl PartialEq for PcbGraphic
impl StructuralPartialEq for PcbGraphic
Auto Trait Implementations§
impl Freeze for PcbGraphic
impl RefUnwindSafe for PcbGraphic
impl Send for PcbGraphic
impl Sync for PcbGraphic
impl Unpin for PcbGraphic
impl UnsafeUnpin for PcbGraphic
impl UnwindSafe for PcbGraphic
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