pub enum StrokePath {
Line {
start: CoordNm,
end: CoordNm,
},
Arc {
start: CoordNm,
end: CoordNm,
center: CoordNm,
ccw: bool,
major: bool,
},
FullCircle {
center: CoordNm,
radius: i64,
},
}Expand description
Swept line or circular arc path (round caps/joins, whole nm, +Y up).
Variants§
Trait Implementations§
Source§impl Clone for StrokePath
impl Clone for StrokePath
Source§fn clone(&self) -> StrokePath
fn clone(&self) -> StrokePath
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 StrokePath
impl Debug for StrokePath
Source§impl<'de> Deserialize<'de> for StrokePath
impl<'de> Deserialize<'de> for StrokePath
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
Source§impl PartialEq for StrokePath
impl PartialEq for StrokePath
Source§impl Serialize for StrokePath
impl Serialize for StrokePath
impl StructuralPartialEq for StrokePath
Auto Trait Implementations§
impl Freeze for StrokePath
impl RefUnwindSafe for StrokePath
impl Send for StrokePath
impl Sync for StrokePath
impl Unpin for StrokePath
impl UnsafeUnpin for StrokePath
impl UnwindSafe for StrokePath
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