pub struct DesignatorFit {
pub center_mm: [f64; 2],
pub font_size_mm: f64,
pub rotation_degrees: f64,
}Expand description
One fitted component designator placement in millimetres (+Y up or canvas space).
Fields§
§center_mm: [f64; 2]§font_size_mm: f64§rotation_degrees: f64Trait Implementations§
Source§impl Clone for DesignatorFit
impl Clone for DesignatorFit
Source§fn clone(&self) -> DesignatorFit
fn clone(&self) -> DesignatorFit
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 moreimpl Copy for DesignatorFit
Source§impl Debug for DesignatorFit
impl Debug for DesignatorFit
Source§impl PartialEq for DesignatorFit
impl PartialEq for DesignatorFit
impl StructuralPartialEq for DesignatorFit
Auto Trait Implementations§
impl Freeze for DesignatorFit
impl RefUnwindSafe for DesignatorFit
impl Send for DesignatorFit
impl Sync for DesignatorFit
impl Unpin for DesignatorFit
impl UnsafeUnpin for DesignatorFit
impl UnwindSafe for DesignatorFit
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