pub struct Segment2 {
pub a: Vec2,
pub b: Vec2,
}Expand description
2-D segment from a to b.
Fields§
§a: Vec2First endpoint.
b: Vec2Second endpoint.
Implementations§
Trait Implementations§
impl Copy for Segment2
impl StructuralPartialEq for Segment2
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