pub struct FootprintText {Show 13 fields
pub kind: String,
pub text: String,
pub at_x: f64,
pub at_y: f64,
pub angle: f64,
pub layer: String,
pub knockout: bool,
pub hidden: bool,
pub unlocked: bool,
pub effects: KiCadTextEffects,
pub render_cache_range: Option<Range<usize>>,
pub uuid: Option<String>,
pub source_range: Range<usize>,
}Fields§
§kind: String§text: String§at_x: f64§at_y: f64§angle: f64§layer: String§knockout: bool§unlocked: bool§effects: KiCadTextEffects§render_cache_range: Option<Range<usize>>§uuid: Option<String>§source_range: Range<usize>Implementations§
Source§impl FootprintText
impl FootprintText
Sourcepub fn read_render_cache(
&self,
source: &str,
) -> Result<Option<TextRenderCache>, TextRenderCacheError>
pub fn read_render_cache( &self, source: &str, ) -> Result<Option<TextRenderCache>, TextRenderCacheError>
Read only this owner’s optional source realization. Absence is None;
present malformed data is an error, while the authored owner survives.
Consumers choose recovery policy rather than mistaking failure for absence.
Trait Implementations§
Source§impl Clone for FootprintText
impl Clone for FootprintText
Source§fn clone(&self) -> FootprintText
fn clone(&self) -> FootprintText
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 FootprintText
impl Debug for FootprintText
Source§impl PartialEq for FootprintText
impl PartialEq for FootprintText
impl StructuralPartialEq for FootprintText
Auto Trait Implementations§
impl Freeze for FootprintText
impl RefUnwindSafe for FootprintText
impl Send for FootprintText
impl Sync for FootprintText
impl Unpin for FootprintText
impl UnsafeUnpin for FootprintText
impl UnwindSafe for FootprintText
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