Struct libosu::Point [−][src]
pub struct Point<T>(_, _);
Trait Implementations
impl<T: Debug> Debug for Point<T>
[src]
impl<T: Debug> Debug for Point<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Display> Display for Point<T>
[src]
impl<T: Display> Display for Point<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Add<Output = T>> Add for Point<T>
[src]
impl<T: Add<Output = T>> Add for Point<T>
type Output = Point<T>
The resulting type after applying the +
operator.
fn add(self, other: Point<T>) -> Self::Output
[src]
fn add(self, other: Point<T>) -> Self::Output
Performs the +
operation.
impl<T: Sub<Output = T>> Sub for Point<T>
[src]
impl<T: Sub<Output = T>> Sub for Point<T>
type Output = Point<T>
The resulting type after applying the -
operator.
fn sub(self, other: Point<T>) -> Self::Output
[src]
fn sub(self, other: Point<T>) -> Self::Output
Performs the -
operation.
impl<T: Mul<Output = T>> Mul<Point<T>> for Point<T>
[src]
impl<T: Mul<Output = T>> Mul<Point<T>> for Point<T>
type Output = Point<T>
The resulting type after applying the *
operator.
fn mul(self, other: Point<T>) -> Self::Output
[src]
fn mul(self, other: Point<T>) -> Self::Output
Performs the *
operation.
impl<T: Clone + Mul<Output = T>> Mul<T> for Point<T>
[src]
impl<T: Clone + Mul<Output = T>> Mul<T> for Point<T>