Struct competitive_programming_rs::geometry::minimum_bounding_circle::minimum_bounding_circle::Point [−][src]
Fields
x: T
y: T
Implementations
impl<T> Point<T> where
T: Copy + Mul<Output = T> + Sub<Output = T> + Add<Output = T>,
[src]
T: Copy + Mul<Output = T> + Sub<Output = T> + Add<Output = T>,
Trait Implementations
impl<T> Add<Point<T>> for Point<T> where
T: Add<Output = T>,
[src]
T: Add<Output = T>,
type Output = Point<T>
The resulting type after applying the +
operator.
fn add(self, rhs: Point<T>) -> Point<T>
[src]
impl<T> Clone for Point<T> where
T: Clone,
[src]
T: Clone,
impl<T> Copy for Point<T> where
T: Copy,
[src]
T: Copy,
impl<T> Div<T> for Point<T> where
T: Copy + Div<Output = T>,
[src]
T: Copy + Div<Output = T>,
type Output = Point<T>
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Point<T>
[src]
impl<T> Mul<T> for Point<T> where
T: Copy + Mul<Output = T>,
[src]
T: Copy + Mul<Output = T>,
type Output = Point<T>
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Point<T>
[src]
impl<T> Sub<Point<T>> for Point<T> where
T: Sub<Output = T>,
[src]
T: Sub<Output = T>,
Auto Trait Implementations
impl<T> RefUnwindSafe for Point<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for Point<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for Point<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for Point<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for Point<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,