#[repr(C)]pub struct Circle<T> {
pub center: Point<T>,
pub radius: T,
}
Fields§
§center: Point<T>
§radius: T
Implementations§
Trait Implementations§
source§impl<T> Collision<Circle<T>> for Circle<T>where
T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
impl<T> Collision<Circle<T>> for Circle<T>where T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
source§impl<T> Collision<Circle<T>> for Point<T>where
T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
impl<T> Collision<Circle<T>> for Point<T>where T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
source§impl<T> Collision<Circle<T>> for Rect<T>where
T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
impl<T> Collision<Circle<T>> for Rect<T>where T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
source§impl<T> Collision<Point<T>> for Circle<T>where
T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
impl<T> Collision<Point<T>> for Circle<T>where T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
source§impl<T> Collision<Rect<T>> for Circle<T>where
T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
impl<T> Collision<Rect<T>> for Circle<T>where T: Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + PartialOrd + Copy,
source§impl<T: PartialEq> PartialEq<Circle<T>> for Circle<T>
impl<T: PartialEq> PartialEq<Circle<T>> for Circle<T>
impl<T: Copy> Copy for Circle<T>
impl<T: Eq> Eq for Circle<T>
impl<T> StructuralEq for Circle<T>
impl<T> StructuralPartialEq for Circle<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Circle<T>where T: RefUnwindSafe,
impl<T> Send for Circle<T>where T: Send,
impl<T> Sync for Circle<T>where T: Sync,
impl<T> Unpin for Circle<T>where T: Unpin,
impl<T> UnwindSafe for Circle<T>where T: 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