pub struct PcbBoardText {
pub graphic_index: usize,
pub text: String,
pub at: PcbPoint,
pub angle: f64,
pub layer: String,
pub knockout: bool,
pub hidden: bool,
pub locked: bool,
pub effects: KiCadTextEffects,
pub render_cache_range: Option<Range<usize>>,
pub uuid: Option<String>,
pub source_range: Range<usize>,
}Expand description
One source gr_text owner, including empty and hidden text.
Coordinates remain KiCad millimetres and angles remain authored degrees.
Fields§
§graphic_index: usize§text: String§at: PcbPoint§angle: f64§layer: String§knockout: bool§locked: bool§effects: KiCadTextEffects§render_cache_range: Option<Range<usize>>§uuid: Option<String>§source_range: Range<usize>Trait Implementations§
Source§impl Clone for PcbBoardText
impl Clone for PcbBoardText
Source§fn clone(&self) -> PcbBoardText
fn clone(&self) -> PcbBoardText
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 PcbBoardText
impl Debug for PcbBoardText
Source§impl PartialEq for PcbBoardText
impl PartialEq for PcbBoardText
impl StructuralPartialEq for PcbBoardText
Auto Trait Implementations§
impl Freeze for PcbBoardText
impl RefUnwindSafe for PcbBoardText
impl Send for PcbBoardText
impl Sync for PcbBoardText
impl Unpin for PcbBoardText
impl UnsafeUnpin for PcbBoardText
impl UnwindSafe for PcbBoardText
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