pub struct PcbFootprintTextBox {Show 17 fields
pub footprint_index: usize,
pub text: String,
pub start: PcbPoint,
pub end: PcbPoint,
pub margins: [f64; 4],
pub angle: f64,
pub polygon_points: Vec<PcbPoint>,
pub layer: String,
pub locked: bool,
pub effects: Option<KiCadTextEffects>,
pub stroke_width: Option<f64>,
pub stroke_kind: Option<String>,
pub border: Option<bool>,
pub knockout: Option<bool>,
pub render_cache_range: Option<Range<usize>>,
pub uuid: Option<String>,
pub source_range: Range<usize>,
}Expand description
One source-authored footprint-local text box.
Fields§
§footprint_index: usize§text: String§start: PcbPoint§end: PcbPoint§margins: [f64; 4]§angle: f64§polygon_points: Vec<PcbPoint>§layer: String§locked: bool§effects: Option<KiCadTextEffects>§stroke_width: Option<f64>§stroke_kind: Option<String>§border: Option<bool>§knockout: Option<bool>§render_cache_range: Option<Range<usize>>§uuid: Option<String>§source_range: Range<usize>Trait Implementations§
Source§impl Clone for PcbFootprintTextBox
impl Clone for PcbFootprintTextBox
Source§fn clone(&self) -> PcbFootprintTextBox
fn clone(&self) -> PcbFootprintTextBox
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 PcbFootprintTextBox
impl Debug for PcbFootprintTextBox
Source§impl PartialEq for PcbFootprintTextBox
impl PartialEq for PcbFootprintTextBox
impl StructuralPartialEq for PcbFootprintTextBox
Auto Trait Implementations§
impl Freeze for PcbFootprintTextBox
impl RefUnwindSafe for PcbFootprintTextBox
impl Send for PcbFootprintTextBox
impl Sync for PcbFootprintTextBox
impl Unpin for PcbFootprintTextBox
impl UnsafeUnpin for PcbFootprintTextBox
impl UnwindSafe for PcbFootprintTextBox
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