#[non_exhaustive]pub struct Polyline {
pub vertices: Vec<Vertex>,
pub closed: bool,
pub plinegen: bool,
pub three_d: bool,
pub const_width: f64,
pub elevation: f64,
}Expand description
LWPOLYLINE, and POLYLINE with its VERTEXes (2D and 3D; meshes are Kind::Mesh)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vertices: Vec<Vertex>§closed: bool70 bit 1
plinegen: bool70 bit 128: the linetype’s pattern runs on across the vertices (else it starts anew at each)
three_d: boola 3D polyline (POLYLINE 70 bit 8): points in WCS, no bulges, no widths
const_width: f6443 (LWPOLYLINE) or 40 / 41 of POLYLINE: the width where a vertex has none of its own
elevation: f6438 (LWPOLYLINE) or 30 of POLYLINE’s point: the OCS z
Trait Implementations§
impl StructuralPartialEq for Polyline
Auto Trait Implementations§
impl Forget for Polyline
impl Freeze for Polyline
impl Move for Polyline
impl RefUnwindSafe for Polyline
impl Send for Polylinewhere
RawVecInner: Send,
impl Sync for Polylinewhere
RawVecInner: Sync,
impl Unpin for Polyline
impl UnsafeUnpin for Polyline
impl UnwindSafe for Polylinewhere
RawVecInner: UnwindSafe,
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