pub struct Line { /* private fields */ }Expand description
Stroked line primitive in world coordinates.
Implementations§
Source§impl Line
impl Line
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 Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnsafeUnpin for Line
impl UnwindSafe for Line
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