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
Source§fn clone(&self) -> LineSegment2
fn clone(&self) -> LineSegment2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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