pub struct LineSegment2 {
pub a: Point2,
pub b: Point2,
}Expand description
Directed line segment from a to b.
Fields§
§a: Point2§b: Point2Implementations§
Source§impl LineSegment2
impl LineSegment2
Trait Implementations§
Source§impl Clone for LineSegment2
impl Clone for LineSegment2
impl Copy for LineSegment2
Source§impl Debug for LineSegment2
impl Debug for LineSegment2
Source§impl PartialEq for LineSegment2
impl PartialEq for LineSegment2
impl StructuralPartialEq for LineSegment2
Auto Trait Implementations§
impl Freeze for LineSegment2
impl RefUnwindSafe for LineSegment2
impl Send for LineSegment2
impl Sync for LineSegment2
impl Unpin for LineSegment2
impl UnsafeUnpin for LineSegment2
impl UnwindSafe for LineSegment2
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