pub struct Segment2 {
pub a: Point2,
pub b: Point2,
}Expand description
2D line segment.
Fields§
§a: Point2§b: Point2Trait Implementations§
Auto Trait Implementations§
impl Freeze for Segment2
impl RefUnwindSafe for Segment2
impl Send for Segment2
impl Sync for Segment2
impl Unpin for Segment2
impl UnsafeUnpin for Segment2
impl UnwindSafe for Segment2
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