pub struct PcbSegment {
pub start: Option<[f64; 2]>,
pub end: Option<[f64; 2]>,
pub width: Option<f64>,
pub layer: Option<String>,
pub net: Option<i32>,
pub uuid: Option<String>,
pub locked: bool,
}Expand description
PCB (.kicad_pcb) APIs.
Fields§
§start: Option<[f64; 2]>§end: Option<[f64; 2]>§width: Option<f64>§layer: Option<String>§net: Option<i32>§uuid: Option<String>§locked: boolTrait Implementations§
Source§impl Clone for PcbSegment
impl Clone for PcbSegment
Source§fn clone(&self) -> PcbSegment
fn clone(&self) -> PcbSegment
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 PcbSegment
impl Debug for PcbSegment
Source§impl PartialEq for PcbSegment
impl PartialEq for PcbSegment
impl StructuralPartialEq for PcbSegment
Auto Trait Implementations§
impl Freeze for PcbSegment
impl RefUnwindSafe for PcbSegment
impl Send for PcbSegment
impl Sync for PcbSegment
impl Unpin for PcbSegment
impl UnsafeUnpin for PcbSegment
impl UnwindSafe for PcbSegment
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