pub struct Circle<T: Number>(pub Point<T>, pub T);
Tuple Fields§
§0: Point<T>
§1: T
Trait Implementations§
Source§impl<T: Number> Contains<LineSegment<T>> for Circle<T>
impl<T: Number> Contains<LineSegment<T>> for Circle<T>
fn contains(self, LineSegment: LineSegment<T>) -> bool
Source§impl<N: Number> Intersects<Circle<N>, N> for LineSegment<N>
impl<N: Number> Intersects<Circle<N>, N> for LineSegment<N>
fn intersects(self, other: Circle<N>) -> Intersections<N>
Source§impl<N: Number> Intersects<LineSegment<N>, N> for Circle<N>
impl<N: Number> Intersects<LineSegment<N>, N> for Circle<N>
fn intersects(self, other: LineSegment<N>) -> Intersections<N>
Source§impl<T: PartialOrd + Number> PartialOrd for Circle<T>
impl<T: PartialOrd + Number> PartialOrd for Circle<T>
impl<T: Copy + Number> Copy for Circle<T>
impl<T: Number> StructuralPartialEq for Circle<T>
Auto Trait Implementations§
impl<T> Freeze for Circle<T>where
T: Freeze,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)