pub struct Line2D {
pub from: Vector2,
pub to: Vector2,
}Expand description
A 2D line segment used when cutting top/down paths.
Fields§
§from: Vector2Relative starting point in 2D space.
to: Vector2Relative end point in 2D space.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Line2D
impl RefUnwindSafe for Line2D
impl Send for Line2D
impl Sync for Line2D
impl Unpin for Line2D
impl UnwindSafe for Line2D
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