pub struct SchematicNamedPresentation { /* private fields */ }Expand description
Allocation-owned readers issue this fixed-size presentation receipt. Native IU coordinates are relative to the separately checked original loaded site. Colors are ARGB; no project, alias, theme or netclass resolution is implied.
Implementations§
Source§impl SchematicNamedPresentation
impl SchematicNamedPresentation
pub fn effects(&self) -> &KiCadTextEffects
pub fn offset_iu(&self) -> SchematicPoint
pub fn rotation_degrees(&self) -> i32
pub fn horizontal(&self) -> &'static str
pub fn vertical(&self) -> &'static str
pub fn text_argb(&self) -> &str
pub fn contour_argb(&self) -> &str
pub fn pen_iu(&self) -> i64
Sourcepub fn pen_iu_with_default(&self, default_iu: i64) -> i64
pub fn pen_iu_with_default(&self, default_iu: i64) -> i64
The pen KiCad plots the name and its contour with where the project’s
default line width is default_iu (SCH_LABEL_BASE::Plot);
Self::pen_iu is KiCad’s own 6 mil default.
pub fn contour_iu(&self) -> &[SchematicPoint]
Trait Implementations§
Source§impl Clone for SchematicNamedPresentation
impl Clone for SchematicNamedPresentation
Source§fn clone(&self) -> SchematicNamedPresentation
fn clone(&self) -> SchematicNamedPresentation
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 moreAuto Trait Implementations§
impl Freeze for SchematicNamedPresentation
impl RefUnwindSafe for SchematicNamedPresentation
impl Send for SchematicNamedPresentation
impl Sync for SchematicNamedPresentation
impl Unpin for SchematicNamedPresentation
impl UnsafeUnpin for SchematicNamedPresentation
impl UnwindSafe for SchematicNamedPresentation
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