Struct parametrics::segment::Segment
source · pub struct Segment {
pub start: Point,
pub end: Point,
}
Expand description
A line segment from a start point to an end point
Fields§
§start: Point
§end: Point
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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