pub struct Polyline { /* private fields */ }Expand description
Connected line-strip primitive in world coordinates.
Implementations§
Source§impl Polyline
impl Polyline
Sourcepub const fn stroke(&self) -> Stroke
pub const fn stroke(&self) -> Stroke
Returns color and scalar width; inspect Self::stroke_style for units.
Sourcepub const fn stroke_style(&self) -> StrokeStyle2d
pub const fn stroke_style(&self) -> StrokeStyle2d
Returns the complete cap, join, dash, marker, and width-mode style.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Polyline
impl RefUnwindSafe for Polyline
impl Send for Polyline
impl Sync for Polyline
impl Unpin for Polyline
impl UnsafeUnpin for Polyline
impl UnwindSafe for Polyline
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