pub struct Line<S> {
pub start: Point2D<f64, S>,
pub end: Point2D<f64, S>,
}
Expand description
A line connecting Line::start
to Line::end
.
Fields§
§start: Point2D<f64, S>
§end: Point2D<f64, S>
Implementations§
Trait Implementations§
impl<S> Copy for Line<S>
impl<S> StructuralPartialEq for Line<S>
Auto Trait Implementations§
impl<S> Freeze for Line<S>
impl<S> RefUnwindSafe for Line<S>where
S: RefUnwindSafe,
impl<S> Send for Line<S>where
S: Send,
impl<S> Sync for Line<S>where
S: Sync,
impl<S> Unpin for Line<S>where
S: Unpin,
impl<S> UnwindSafe for Line<S>where
S: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> Scale for Swhere
S: ScaleNonUniform,
impl<S> Scale for Swhere
S: ScaleNonUniform,
Source§impl<A> ScaleNonUniform for Awhere
A: AffineTransformable,
impl<A> ScaleNonUniform for Awhere
A: AffineTransformable,
Source§impl<A> Translate for Awhere
A: AffineTransformable,
impl<A> Translate for Awhere
A: AffineTransformable,
Source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.