pub struct PolylineObject {
pub points: Vec<(f64, f64)>,
pub curved: bool,
pub closed: bool,
pub xloc: String,
pub line_color: Option<Color>,
pub fill_color: Option<Color>,
pub line_style: String,
pub line_width: f64,
}Expand description
A multi-point polyline (polyline.new).
Fields§
§points: Vec<(f64, f64)>The (x, y) vertices, in order.
curved: bool§closed: bool§xloc: String§line_color: Option<Color>§fill_color: Option<Color>§line_style: String§line_width: f64Trait Implementations§
Source§impl Clone for PolylineObject
impl Clone for PolylineObject
Source§fn clone(&self) -> PolylineObject
fn clone(&self) -> PolylineObject
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 PolylineObject
impl Debug for PolylineObject
Source§impl Default for PolylineObject
impl Default for PolylineObject
Source§fn default() -> PolylineObject
fn default() -> PolylineObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PolylineObject
impl RefUnwindSafe for PolylineObject
impl Send for PolylineObject
impl Sync for PolylineObject
impl Unpin for PolylineObject
impl UnsafeUnpin for PolylineObject
impl UnwindSafe for PolylineObject
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