pub struct DrawingCurve {
pub hidden: bool,
pub shape: DrawingShape,
pub layer: String,
}Expand description
One curve of a drawing, and whether the drawing marks it hidden (a hidden layer, or a dashed line type).
Fields§
§shape: DrawingShape§layer: StringThe layer it is drawn on; empty for the drawing’s default layer.
Trait Implementations§
Source§impl Clone for DrawingCurve
impl Clone for DrawingCurve
Source§impl Debug for DrawingCurve
impl Debug for DrawingCurve
Source§impl<'de> Deserialize<'de> for DrawingCurve
impl<'de> Deserialize<'de> for DrawingCurve
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 DrawingCurve
impl PartialEq for DrawingCurve
Source§impl Serialize for DrawingCurve
impl Serialize for DrawingCurve
impl StructuralPartialEq for DrawingCurve
Auto Trait Implementations§
impl Forget for DrawingCurve
impl Freeze for DrawingCurve
impl RefUnwindSafe for DrawingCurve
impl Send for DrawingCurve
impl Sync for DrawingCurve
impl Unpin for DrawingCurve
impl UnsafeUnpin for DrawingCurve
impl UnwindSafe for DrawingCurve
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