pub struct Lead {
pub kind: LeadKind,
pub radius: f64,
pub sweep_deg: f64,
pub linear_length: f64,
pub vertical_radius: f64,
}Expand description
Lead-in / lead-out geometry.
Fields§
§kind: LeadKind§radius: f64Arc radius or linear length.
sweep_deg: f64Arc sweep in degrees (arc leads).
linear_length: f64Straight extension before the arc.
vertical_radius: f64Vertical component of the lead.
Implementations§
Trait Implementations§
impl Copy for Lead
Source§impl<'de> Deserialize<'de> for Lead
impl<'de> Deserialize<'de> for Lead
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Lead
Auto Trait Implementations§
impl Forget for Lead
impl Freeze for Lead
impl Move for Lead
impl RefUnwindSafe for Lead
impl Send for Lead
impl Sync for Lead
impl Unpin for Lead
impl UnsafeUnpin for Lead
impl UnwindSafe for Lead
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