pub enum SchematicDocumentationGeometry {
Text(SchematicDocumentationPose),
TextBox {
pose: SchematicDocumentationPose,
legacy_start: Option<SchematicNativeLoadedPoint>,
legacy_end: Option<SchematicNativeLoadedPoint>,
size: Option<SchematicNativeLoadedPoint>,
margins: Option<[SchematicNativeLoadedNumber; 4]>,
},
Polyline(Vec<SchematicNativeLoadedPoint>),
Rectangle {
start: SchematicNativeLoadedPoint,
end: SchematicNativeLoadedPoint,
authored_corner_radius: Option<f64>,
},
Circle {
center: SchematicNativeLoadedPoint,
radius: SchematicNativeLoadedNumber,
},
Arc {
start: SchematicNativeLoadedPoint,
mid: SchematicNativeLoadedPoint,
end: SchematicNativeLoadedPoint,
},
Bezier([SchematicNativeLoadedPoint; 4]),
Image {
at: Option<SchematicNativeLoadedPoint>,
},
}Variants§
Text(SchematicDocumentationPose)
TextBox
Fields
§
legacy_start: Option<SchematicNativeLoadedPoint>§
legacy_end: Option<SchematicNativeLoadedPoint>§
margins: Option<[SchematicNativeLoadedNumber; 4]>Polyline(Vec<SchematicNativeLoadedPoint>)
Rectangle
Circle
Arc
Fields
§
start: SchematicNativeLoadedPointBezier([SchematicNativeLoadedPoint; 4])
Image
Fields
Trait Implementations§
Source§impl Clone for SchematicDocumentationGeometry
impl Clone for SchematicDocumentationGeometry
Source§fn clone(&self) -> SchematicDocumentationGeometry
fn clone(&self) -> SchematicDocumentationGeometry
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 StructuralPartialEq for SchematicDocumentationGeometry
Auto Trait Implementations§
impl Freeze for SchematicDocumentationGeometry
impl RefUnwindSafe for SchematicDocumentationGeometry
impl Send for SchematicDocumentationGeometry
impl Sync for SchematicDocumentationGeometry
impl Unpin for SchematicDocumentationGeometry
impl UnsafeUnpin for SchematicDocumentationGeometry
impl UnwindSafe for SchematicDocumentationGeometry
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