pub struct Triangle<S: Scalar> {
pub a: Point<S>,
pub b: Point<S>,
pub c: Point<S>,
}
Fields§
§a: Point<S>
§b: Point<S>
§c: Point<S>
Implementations§
Trait Implementations§
impl<S: Copy + Scalar> Copy for Triangle<S>
impl<S: Scalar> Send for Triangle<S>
Auto Trait Implementations§
impl<S> Freeze for Triangle<S>where
S: Freeze,
impl<S> RefUnwindSafe for Triangle<S>where
S: RefUnwindSafe,
impl<S> Sync for Triangle<S>where
S: Sync,
impl<S> Unpin for Triangle<S>where
S: Unpin,
impl<S> UnwindSafe for Triangle<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