pub struct KiCadPaper {
pub size: String,
pub width: Option<f64>,
pub height: Option<f64>,
pub portrait: bool,
pub source_range: Option<Range<usize>>,
}Expand description
A KiCad paper declaration.
Boards and schematics use the same scalar layout: a named size, optional
custom width and height, and an optional portrait flag.
Fields§
§size: String§width: Option<f64>§height: Option<f64>§portrait: bool§source_range: Option<Range<usize>>Trait Implementations§
Source§impl Clone for KiCadPaper
impl Clone for KiCadPaper
Source§fn clone(&self) -> KiCadPaper
fn clone(&self) -> KiCadPaper
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 KiCadPaper
impl Debug for KiCadPaper
Source§impl PartialEq for KiCadPaper
impl PartialEq for KiCadPaper
impl StructuralPartialEq for KiCadPaper
Auto Trait Implementations§
impl Freeze for KiCadPaper
impl RefUnwindSafe for KiCadPaper
impl Send for KiCadPaper
impl Sync for KiCadPaper
impl Unpin for KiCadPaper
impl UnsafeUnpin for KiCadPaper
impl UnwindSafe for KiCadPaper
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