Skip to main content

Vec2d

Struct Vec2d 

Source
pub struct Vec2d<T> { /* private fields */ }

Implementations§

Source§

impl Vec2d<f32>

Source

pub fn unit_vector(direction: f32) -> Self

Creates a new unit vector in a specific direction

Source

pub fn normalise(self) -> Self

Normalises the vector

Source

pub fn magnitude(&self) -> f32

Returns the magnitude/length of the vector

Source

pub fn square_magnitude(&self) -> f32

Returns the (non-sqrt) magnitude/length of the vector

Source

pub fn direction(&self) -> f32

Returns direction the vector is pointing

Source

pub fn clear(&mut self)

Source§

impl Vec2d<f64>

Source

pub fn unit_vector(direction: f64) -> Self

Creates a new unit vector in a specific direction

Source

pub fn normalise(self) -> Self

Normalises the vector

Source

pub fn magnitude(&self) -> f64

Returns the magnitude/length of the vector

Source

pub fn square_magnitude(&self) -> f64

Returns the (non-sqrt) magnitude/length of the vector

Source

pub fn direction(&self) -> f64

Returns direction the vector is pointing

Source

pub fn clear(&mut self)

Source§

impl<T> Vec2d<T>

Source

pub fn new(x: T, y: T) -> Vec2d<T>
where T: Add + Mul + Div + Sub + Copy,

Source

pub fn x(&self) -> T
where T: Add + Mul + Div + Sub + Copy,

Source

pub fn set_x(&mut self, x: T)
where T: Add + Mul + Div + Sub + Copy,

Source

pub fn y(&self) -> T
where T: Add + Mul + Div + Sub + Copy,

Source

pub fn set_y(&mut self, y: T)
where T: Add + Mul + Div + Sub + Copy,

Trait Implementations§

Source§

impl<T: Add> Add for Vec2d<T>

Add two Vec2d together

Source§

type Output = Vec2d<<T as Add>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<f32>> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Add<Vec2d<f32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<f32>> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Add<Vec2d<f32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<f64>> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Add<Vec2d<f64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<f64>> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Add<Vec2d<f64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i8>> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Add<Vec2d<i8>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i8>> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Add<Vec2d<i8>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i16>> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Add<Vec2d<i16>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i16>> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Add<Vec2d<i16>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i32>> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Add<Vec2d<i32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i32>> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Add<Vec2d<i32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i64>> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Add<Vec2d<i64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i64>> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Add<Vec2d<i64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i128>> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Add<Vec2d<i128>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<i128>> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Add<Vec2d<i128>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<isize>> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Add<Vec2d<isize>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<isize>> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Add<Vec2d<isize>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u8>> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Add<Vec2d<u8>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u8>> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Add<Vec2d<u8>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u16>> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Add<Vec2d<u16>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u16>> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Add<Vec2d<u16>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u32>> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Add<Vec2d<u32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u32>> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Add<Vec2d<u32>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u64>> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Add<Vec2d<u64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u64>> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Add<Vec2d<u64>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u128>> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Add<Vec2d<u128>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<u128>> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Add<Vec2d<u128>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<usize>> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Add<Vec2d<usize>>>::Output

Performs the + operation. Read more
Source§

impl Add<&Vec2d<usize>> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Add<Vec2d<usize>>>::Output

Performs the + operation. Read more
Source§

impl Add<&f32> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add<f32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &f32) -> <Vec2d<f32> as Add<f32>>::Output

Performs the + operation. Read more
Source§

impl Add<&f32> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add<f32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &f32) -> <Vec2d<f32> as Add<f32>>::Output

Performs the + operation. Read more
Source§

impl Add<&f64> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add<f64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &f64) -> <Vec2d<f64> as Add<f64>>::Output

Performs the + operation. Read more
Source§

impl Add<&f64> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add<f64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &f64) -> <Vec2d<f64> as Add<f64>>::Output

Performs the + operation. Read more
Source§

impl Add<&i8> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add<i8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i8) -> <Vec2d<i8> as Add<i8>>::Output

Performs the + operation. Read more
Source§

impl Add<&i8> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add<i8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i8) -> <Vec2d<i8> as Add<i8>>::Output

Performs the + operation. Read more
Source§

impl Add<&i16> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add<i16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i16) -> <Vec2d<i16> as Add<i16>>::Output

Performs the + operation. Read more
Source§

impl Add<&i16> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add<i16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i16) -> <Vec2d<i16> as Add<i16>>::Output

Performs the + operation. Read more
Source§

impl Add<&i32> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add<i32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i32) -> <Vec2d<i32> as Add<i32>>::Output

Performs the + operation. Read more
Source§

impl Add<&i32> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add<i32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i32) -> <Vec2d<i32> as Add<i32>>::Output

Performs the + operation. Read more
Source§

impl Add<&i64> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add<i64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i64) -> <Vec2d<i64> as Add<i64>>::Output

Performs the + operation. Read more
Source§

impl Add<&i64> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add<i64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i64) -> <Vec2d<i64> as Add<i64>>::Output

Performs the + operation. Read more
Source§

impl Add<&i128> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add<i128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i128) -> <Vec2d<i128> as Add<i128>>::Output

Performs the + operation. Read more
Source§

impl Add<&i128> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add<i128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &i128) -> <Vec2d<i128> as Add<i128>>::Output

Performs the + operation. Read more
Source§

impl Add<&isize> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add<isize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &isize) -> <Vec2d<isize> as Add<isize>>::Output

Performs the + operation. Read more
Source§

impl Add<&isize> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add<isize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &isize) -> <Vec2d<isize> as Add<isize>>::Output

Performs the + operation. Read more
Source§

impl Add<&u8> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add<u8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u8) -> <Vec2d<u8> as Add<u8>>::Output

Performs the + operation. Read more
Source§

impl Add<&u8> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add<u8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u8) -> <Vec2d<u8> as Add<u8>>::Output

Performs the + operation. Read more
Source§

impl Add<&u16> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add<u16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u16) -> <Vec2d<u16> as Add<u16>>::Output

Performs the + operation. Read more
Source§

impl Add<&u16> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add<u16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u16) -> <Vec2d<u16> as Add<u16>>::Output

Performs the + operation. Read more
Source§

impl Add<&u32> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add<u32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <Vec2d<u32> as Add<u32>>::Output

Performs the + operation. Read more
Source§

impl Add<&u32> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add<u32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u32) -> <Vec2d<u32> as Add<u32>>::Output

Performs the + operation. Read more
Source§

impl Add<&u64> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add<u64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u64) -> <Vec2d<u64> as Add<u64>>::Output

Performs the + operation. Read more
Source§

impl Add<&u64> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add<u64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u64) -> <Vec2d<u64> as Add<u64>>::Output

Performs the + operation. Read more
Source§

impl Add<&u128> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add<u128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u128) -> <Vec2d<u128> as Add<u128>>::Output

Performs the + operation. Read more
Source§

impl Add<&u128> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add<u128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &u128) -> <Vec2d<u128> as Add<u128>>::Output

Performs the + operation. Read more
Source§

impl Add<&usize> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add<usize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &usize) -> <Vec2d<usize> as Add<usize>>::Output

Performs the + operation. Read more
Source§

impl Add<&usize> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add<usize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &usize) -> <Vec2d<usize> as Add<usize>>::Output

Performs the + operation. Read more
Source§

impl<T: Add + Copy> Add<T> for Vec2d<T>

Add scalar to Vec2d

Source§

type Output = Vec2d<<T as Add>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: T) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<f32>> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<f32>) -> <Vec2d<f32> as Add<Vec2d<f32>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<f64>> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<f64>) -> <Vec2d<f64> as Add<Vec2d<f64>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<i8>> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<i8>) -> <Vec2d<i8> as Add<Vec2d<i8>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<i16>> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<i16>) -> <Vec2d<i16> as Add<Vec2d<i16>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<i32>> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<i32>) -> <Vec2d<i32> as Add<Vec2d<i32>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<i64>> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<i64>) -> <Vec2d<i64> as Add<Vec2d<i64>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<i128>> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<i128>) -> <Vec2d<i128> as Add<Vec2d<i128>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<isize>> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<isize>) -> <Vec2d<isize> as Add<Vec2d<isize>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<u8>> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<u8>) -> <Vec2d<u8> as Add<Vec2d<u8>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<u16>> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<u16>) -> <Vec2d<u16> as Add<Vec2d<u16>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<u32>> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<u32>) -> <Vec2d<u32> as Add<Vec2d<u32>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<u64>> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<u64>) -> <Vec2d<u64> as Add<Vec2d<u64>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<u128>> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<u128>) -> <Vec2d<u128> as Add<Vec2d<u128>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<Vec2d<usize>> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: Vec2d<usize>) -> <Vec2d<usize> as Add<Vec2d<usize>>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<f32> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Add<f32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: f32) -> <Vec2d<f32> as Add<f32>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<f64> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Add<f64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: f64) -> <Vec2d<f64> as Add<f64>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i8> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Add<i8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: i8) -> <Vec2d<i8> as Add<i8>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i16> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Add<i16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: i16) -> <Vec2d<i16> as Add<i16>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i32> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Add<i32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: i32) -> <Vec2d<i32> as Add<i32>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i64> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Add<i64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: i64) -> <Vec2d<i64> as Add<i64>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<i128> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Add<i128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: i128) -> <Vec2d<i128> as Add<i128>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<isize> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Add<isize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: isize) -> <Vec2d<isize> as Add<isize>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<u8> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Add<u8>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: u8) -> <Vec2d<u8> as Add<u8>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<u16> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Add<u16>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: u16) -> <Vec2d<u16> as Add<u16>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<u32> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Add<u32>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: u32) -> <Vec2d<u32> as Add<u32>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<u64> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Add<u64>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: u64) -> <Vec2d<u64> as Add<u64>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<u128> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Add<u128>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: u128) -> <Vec2d<u128> as Add<u128>>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<usize> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Add<usize>>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: usize) -> <Vec2d<usize> as Add<usize>>::Output

Performs the + operation. Read more
Source§

impl<T: AddAssign> AddAssign for Vec2d<T>

Add Vec2d to this Vec2d

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<f32>> for Vec2d<f32>

Source§

fn add_assign(&mut self, other: &Vec2d<f32>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<f64>> for Vec2d<f64>

Source§

fn add_assign(&mut self, other: &Vec2d<f64>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<i8>> for Vec2d<i8>

Source§

fn add_assign(&mut self, other: &Vec2d<i8>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<i16>> for Vec2d<i16>

Source§

fn add_assign(&mut self, other: &Vec2d<i16>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<i32>> for Vec2d<i32>

Source§

fn add_assign(&mut self, other: &Vec2d<i32>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<i64>> for Vec2d<i64>

Source§

fn add_assign(&mut self, other: &Vec2d<i64>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<i128>> for Vec2d<i128>

Source§

fn add_assign(&mut self, other: &Vec2d<i128>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<isize>> for Vec2d<isize>

Source§

fn add_assign(&mut self, other: &Vec2d<isize>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<u8>> for Vec2d<u8>

Source§

fn add_assign(&mut self, other: &Vec2d<u8>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<u16>> for Vec2d<u16>

Source§

fn add_assign(&mut self, other: &Vec2d<u16>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<u32>> for Vec2d<u32>

Source§

fn add_assign(&mut self, other: &Vec2d<u32>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<u64>> for Vec2d<u64>

Source§

fn add_assign(&mut self, other: &Vec2d<u64>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<u128>> for Vec2d<u128>

Source§

fn add_assign(&mut self, other: &Vec2d<u128>)

Performs the += operation. Read more
Source§

impl AddAssign<&Vec2d<usize>> for Vec2d<usize>

Source§

fn add_assign(&mut self, other: &Vec2d<usize>)

Performs the += operation. Read more
Source§

impl AddAssign<&f32> for Vec2d<f32>

Source§

fn add_assign(&mut self, other: &f32)

Performs the += operation. Read more
Source§

impl AddAssign<&f64> for Vec2d<f64>

Source§

fn add_assign(&mut self, other: &f64)

Performs the += operation. Read more
Source§

impl AddAssign<&i8> for Vec2d<i8>

Source§

fn add_assign(&mut self, other: &i8)

Performs the += operation. Read more
Source§

impl AddAssign<&i16> for Vec2d<i16>

Source§

fn add_assign(&mut self, other: &i16)

Performs the += operation. Read more
Source§

impl AddAssign<&i32> for Vec2d<i32>

Source§

fn add_assign(&mut self, other: &i32)

Performs the += operation. Read more
Source§

impl AddAssign<&i64> for Vec2d<i64>

Source§

fn add_assign(&mut self, other: &i64)

Performs the += operation. Read more
Source§

impl AddAssign<&i128> for Vec2d<i128>

Source§

fn add_assign(&mut self, other: &i128)

Performs the += operation. Read more
Source§

impl AddAssign<&isize> for Vec2d<isize>

Source§

fn add_assign(&mut self, other: &isize)

Performs the += operation. Read more
Source§

impl AddAssign<&u8> for Vec2d<u8>

Source§

fn add_assign(&mut self, other: &u8)

Performs the += operation. Read more
Source§

impl AddAssign<&u16> for Vec2d<u16>

Source§

fn add_assign(&mut self, other: &u16)

Performs the += operation. Read more
Source§

impl AddAssign<&u32> for Vec2d<u32>

Source§

fn add_assign(&mut self, other: &u32)

Performs the += operation. Read more
Source§

impl AddAssign<&u64> for Vec2d<u64>

Source§

fn add_assign(&mut self, other: &u64)

Performs the += operation. Read more
Source§

impl AddAssign<&u128> for Vec2d<u128>

Source§

fn add_assign(&mut self, other: &u128)

Performs the += operation. Read more
Source§

impl AddAssign<&usize> for Vec2d<usize>

Source§

fn add_assign(&mut self, other: &usize)

Performs the += operation. Read more
Source§

impl<T: AddAssign + Copy> AddAssign<T> for Vec2d<T>

Add scalar to this Vec2d

Source§

fn add_assign(&mut self, rhs: T)

Performs the += operation. Read more
Source§

impl<T: Clone> Clone for Vec2d<T>

Source§

fn clone(&self) -> Vec2d<T>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Copy> Copy for Vec2d<T>

Source§

impl<T: Debug> Debug for Vec2d<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: Default> Default for Vec2d<T>

Source§

fn default() -> Vec2d<T>

Returns the “default value” for a type. Read more
Source§

impl<T: Div> Div for Vec2d<T>

Divide Vec2d by Vec2d

Source§

type Output = Vec2d<<T as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<f32>> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Div<Vec2d<f32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<f32>> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Div<Vec2d<f32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<f64>> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Div<Vec2d<f64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<f64>> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Div<Vec2d<f64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i8>> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Div<Vec2d<i8>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i8>> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Div<Vec2d<i8>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i16>> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Div<Vec2d<i16>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i16>> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Div<Vec2d<i16>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i32>> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Div<Vec2d<i32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i32>> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Div<Vec2d<i32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i64>> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Div<Vec2d<i64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i64>> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Div<Vec2d<i64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i128>> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Div<Vec2d<i128>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<i128>> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Div<Vec2d<i128>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<isize>> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Div<Vec2d<isize>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<isize>> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Div<Vec2d<isize>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u8>> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Div<Vec2d<u8>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u8>> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Div<Vec2d<u8>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u16>> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Div<Vec2d<u16>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u16>> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Div<Vec2d<u16>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u32>> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Div<Vec2d<u32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u32>> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Div<Vec2d<u32>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u64>> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Div<Vec2d<u64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u64>> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Div<Vec2d<u64>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u128>> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Div<Vec2d<u128>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<u128>> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Div<Vec2d<u128>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<usize>> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Div<Vec2d<usize>>>::Output

Performs the / operation. Read more
Source§

impl Div<&Vec2d<usize>> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Div<Vec2d<usize>>>::Output

Performs the / operation. Read more
Source§

impl Div<&f32> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div<f32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &f32) -> <Vec2d<f32> as Div<f32>>::Output

Performs the / operation. Read more
Source§

impl Div<&f32> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div<f32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &f32) -> <Vec2d<f32> as Div<f32>>::Output

Performs the / operation. Read more
Source§

impl Div<&f64> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div<f64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &f64) -> <Vec2d<f64> as Div<f64>>::Output

Performs the / operation. Read more
Source§

impl Div<&f64> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div<f64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &f64) -> <Vec2d<f64> as Div<f64>>::Output

Performs the / operation. Read more
Source§

impl Div<&i8> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div<i8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i8) -> <Vec2d<i8> as Div<i8>>::Output

Performs the / operation. Read more
Source§

impl Div<&i8> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div<i8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i8) -> <Vec2d<i8> as Div<i8>>::Output

Performs the / operation. Read more
Source§

impl Div<&i16> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div<i16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i16) -> <Vec2d<i16> as Div<i16>>::Output

Performs the / operation. Read more
Source§

impl Div<&i16> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div<i16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i16) -> <Vec2d<i16> as Div<i16>>::Output

Performs the / operation. Read more
Source§

impl Div<&i32> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div<i32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i32) -> <Vec2d<i32> as Div<i32>>::Output

Performs the / operation. Read more
Source§

impl Div<&i32> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div<i32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i32) -> <Vec2d<i32> as Div<i32>>::Output

Performs the / operation. Read more
Source§

impl Div<&i64> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div<i64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i64) -> <Vec2d<i64> as Div<i64>>::Output

Performs the / operation. Read more
Source§

impl Div<&i64> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div<i64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i64) -> <Vec2d<i64> as Div<i64>>::Output

Performs the / operation. Read more
Source§

impl Div<&i128> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div<i128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i128) -> <Vec2d<i128> as Div<i128>>::Output

Performs the / operation. Read more
Source§

impl Div<&i128> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div<i128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &i128) -> <Vec2d<i128> as Div<i128>>::Output

Performs the / operation. Read more
Source§

impl Div<&isize> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div<isize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &isize) -> <Vec2d<isize> as Div<isize>>::Output

Performs the / operation. Read more
Source§

impl Div<&isize> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div<isize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &isize) -> <Vec2d<isize> as Div<isize>>::Output

Performs the / operation. Read more
Source§

impl Div<&u8> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div<u8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u8) -> <Vec2d<u8> as Div<u8>>::Output

Performs the / operation. Read more
Source§

impl Div<&u8> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div<u8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u8) -> <Vec2d<u8> as Div<u8>>::Output

Performs the / operation. Read more
Source§

impl Div<&u16> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div<u16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u16) -> <Vec2d<u16> as Div<u16>>::Output

Performs the / operation. Read more
Source§

impl Div<&u16> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div<u16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u16) -> <Vec2d<u16> as Div<u16>>::Output

Performs the / operation. Read more
Source§

impl Div<&u32> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div<u32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <Vec2d<u32> as Div<u32>>::Output

Performs the / operation. Read more
Source§

impl Div<&u32> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div<u32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u32) -> <Vec2d<u32> as Div<u32>>::Output

Performs the / operation. Read more
Source§

impl Div<&u64> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div<u64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u64) -> <Vec2d<u64> as Div<u64>>::Output

Performs the / operation. Read more
Source§

impl Div<&u64> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div<u64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u64) -> <Vec2d<u64> as Div<u64>>::Output

Performs the / operation. Read more
Source§

impl Div<&u128> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div<u128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u128) -> <Vec2d<u128> as Div<u128>>::Output

Performs the / operation. Read more
Source§

impl Div<&u128> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div<u128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &u128) -> <Vec2d<u128> as Div<u128>>::Output

Performs the / operation. Read more
Source§

impl Div<&usize> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div<usize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &usize) -> <Vec2d<usize> as Div<usize>>::Output

Performs the / operation. Read more
Source§

impl Div<&usize> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div<usize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &usize) -> <Vec2d<usize> as Div<usize>>::Output

Performs the / operation. Read more
Source§

impl<T: Div + Copy> Div<T> for Vec2d<T>

Divide Vec2d by scalar

Source§

type Output = Vec2d<<T as Div>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<f32>> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<f32>) -> <Vec2d<f32> as Div<Vec2d<f32>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<f64>> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<f64>) -> <Vec2d<f64> as Div<Vec2d<f64>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<i8>> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<i8>) -> <Vec2d<i8> as Div<Vec2d<i8>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<i16>> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<i16>) -> <Vec2d<i16> as Div<Vec2d<i16>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<i32>> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<i32>) -> <Vec2d<i32> as Div<Vec2d<i32>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<i64>> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<i64>) -> <Vec2d<i64> as Div<Vec2d<i64>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<i128>> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<i128>) -> <Vec2d<i128> as Div<Vec2d<i128>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<isize>> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<isize>) -> <Vec2d<isize> as Div<Vec2d<isize>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<u8>> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<u8>) -> <Vec2d<u8> as Div<Vec2d<u8>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<u16>> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<u16>) -> <Vec2d<u16> as Div<Vec2d<u16>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<u32>> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<u32>) -> <Vec2d<u32> as Div<Vec2d<u32>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<u64>> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<u64>) -> <Vec2d<u64> as Div<Vec2d<u64>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<u128>> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<u128>) -> <Vec2d<u128> as Div<Vec2d<u128>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<Vec2d<usize>> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: Vec2d<usize>) -> <Vec2d<usize> as Div<Vec2d<usize>>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<f32> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Div<f32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: f32) -> <Vec2d<f32> as Div<f32>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<f64> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Div<f64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> <Vec2d<f64> as Div<f64>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i8> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Div<i8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: i8) -> <Vec2d<i8> as Div<i8>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i16> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Div<i16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: i16) -> <Vec2d<i16> as Div<i16>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i32> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Div<i32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: i32) -> <Vec2d<i32> as Div<i32>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i64> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Div<i64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: i64) -> <Vec2d<i64> as Div<i64>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<i128> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Div<i128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: i128) -> <Vec2d<i128> as Div<i128>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<isize> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Div<isize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: isize) -> <Vec2d<isize> as Div<isize>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<u8> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Div<u8>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: u8) -> <Vec2d<u8> as Div<u8>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<u16> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Div<u16>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: u16) -> <Vec2d<u16> as Div<u16>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<u32> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Div<u32>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: u32) -> <Vec2d<u32> as Div<u32>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<u64> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Div<u64>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: u64) -> <Vec2d<u64> as Div<u64>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<u128> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Div<u128>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: u128) -> <Vec2d<u128> as Div<u128>>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<usize> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Div<usize>>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: usize) -> <Vec2d<usize> as Div<usize>>::Output

Performs the / operation. Read more
Source§

impl<T: DivAssign> DivAssign for Vec2d<T>

Divide this Vec2d by a Vec2d

Source§

fn div_assign(&mut self, rhs: Self)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<f32>> for Vec2d<f32>

Source§

fn div_assign(&mut self, other: &Vec2d<f32>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<f64>> for Vec2d<f64>

Source§

fn div_assign(&mut self, other: &Vec2d<f64>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<i8>> for Vec2d<i8>

Source§

fn div_assign(&mut self, other: &Vec2d<i8>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<i16>> for Vec2d<i16>

Source§

fn div_assign(&mut self, other: &Vec2d<i16>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<i32>> for Vec2d<i32>

Source§

fn div_assign(&mut self, other: &Vec2d<i32>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<i64>> for Vec2d<i64>

Source§

fn div_assign(&mut self, other: &Vec2d<i64>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<i128>> for Vec2d<i128>

Source§

fn div_assign(&mut self, other: &Vec2d<i128>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<isize>> for Vec2d<isize>

Source§

fn div_assign(&mut self, other: &Vec2d<isize>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<u8>> for Vec2d<u8>

Source§

fn div_assign(&mut self, other: &Vec2d<u8>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<u16>> for Vec2d<u16>

Source§

fn div_assign(&mut self, other: &Vec2d<u16>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<u32>> for Vec2d<u32>

Source§

fn div_assign(&mut self, other: &Vec2d<u32>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<u64>> for Vec2d<u64>

Source§

fn div_assign(&mut self, other: &Vec2d<u64>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<u128>> for Vec2d<u128>

Source§

fn div_assign(&mut self, other: &Vec2d<u128>)

Performs the /= operation. Read more
Source§

impl DivAssign<&Vec2d<usize>> for Vec2d<usize>

Source§

fn div_assign(&mut self, other: &Vec2d<usize>)

Performs the /= operation. Read more
Source§

impl DivAssign<&f32> for Vec2d<f32>

Source§

fn div_assign(&mut self, other: &f32)

Performs the /= operation. Read more
Source§

impl DivAssign<&f64> for Vec2d<f64>

Source§

fn div_assign(&mut self, other: &f64)

Performs the /= operation. Read more
Source§

impl DivAssign<&i8> for Vec2d<i8>

Source§

fn div_assign(&mut self, other: &i8)

Performs the /= operation. Read more
Source§

impl DivAssign<&i16> for Vec2d<i16>

Source§

fn div_assign(&mut self, other: &i16)

Performs the /= operation. Read more
Source§

impl DivAssign<&i32> for Vec2d<i32>

Source§

fn div_assign(&mut self, other: &i32)

Performs the /= operation. Read more
Source§

impl DivAssign<&i64> for Vec2d<i64>

Source§

fn div_assign(&mut self, other: &i64)

Performs the /= operation. Read more
Source§

impl DivAssign<&i128> for Vec2d<i128>

Source§

fn div_assign(&mut self, other: &i128)

Performs the /= operation. Read more
Source§

impl DivAssign<&isize> for Vec2d<isize>

Source§

fn div_assign(&mut self, other: &isize)

Performs the /= operation. Read more
Source§

impl DivAssign<&u8> for Vec2d<u8>

Source§

fn div_assign(&mut self, other: &u8)

Performs the /= operation. Read more
Source§

impl DivAssign<&u16> for Vec2d<u16>

Source§

fn div_assign(&mut self, other: &u16)

Performs the /= operation. Read more
Source§

impl DivAssign<&u32> for Vec2d<u32>

Source§

fn div_assign(&mut self, other: &u32)

Performs the /= operation. Read more
Source§

impl DivAssign<&u64> for Vec2d<u64>

Source§

fn div_assign(&mut self, other: &u64)

Performs the /= operation. Read more
Source§

impl DivAssign<&u128> for Vec2d<u128>

Source§

fn div_assign(&mut self, other: &u128)

Performs the /= operation. Read more
Source§

impl DivAssign<&usize> for Vec2d<usize>

Source§

fn div_assign(&mut self, other: &usize)

Performs the /= operation. Read more
Source§

impl<T: DivAssign + Copy> DivAssign<T> for Vec2d<T>

Divide this Vec2d by scalar

Source§

fn div_assign(&mut self, rhs: T)

Performs the /= operation. Read more
Source§

impl<T: Eq> Eq for Vec2d<T>

Source§

impl<T> From<(T, T)> for Vec2d<T>

Convert a tuple to a Vec2d

Source§

fn from(tuple: (T, T)) -> Self

Converts to this type from the input type.
Source§

impl<T: Copy> From<[T; 2]> for Vec2d<T>

Convert a slice to a Vec2d

Source§

fn from(array: [T; 2]) -> Self

Converts to this type from the input type.
Source§

impl<T> Into<(T, T)> for Vec2d<T>

Return a tuple for this Vec2d

Source§

fn into(self) -> (T, T)

Converts this type into the (usually inferred) input type.
Source§

impl<T> Into<[T; 2]> for Vec2d<T>

Return a slice for this Vec2d

Source§

fn into(self) -> [T; 2]

Converts this type into the (usually inferred) input type.
Source§

impl<T: Mul + Add> Mul for Vec2d<T>
where <T as Mul>::Output: Add,

Calculate and return the scalar product of this Vec2d by Vec2d

Source§

type Output = <<T as Mul>::Output as Add>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<f32>> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Mul<Vec2d<f32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<f32>> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Mul<Vec2d<f32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<f64>> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Mul<Vec2d<f64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<f64>> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Mul<Vec2d<f64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i8>> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Mul<Vec2d<i8>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i8>> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Mul<Vec2d<i8>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i16>> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Mul<Vec2d<i16>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i16>> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Mul<Vec2d<i16>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i32>> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Mul<Vec2d<i32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i32>> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Mul<Vec2d<i32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i64>> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Mul<Vec2d<i64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i64>> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Mul<Vec2d<i64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i128>> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Mul<Vec2d<i128>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<i128>> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Mul<Vec2d<i128>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<isize>> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Mul<Vec2d<isize>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<isize>> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Mul<Vec2d<isize>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u8>> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Mul<Vec2d<u8>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u8>> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Mul<Vec2d<u8>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u16>> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Mul<Vec2d<u16>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u16>> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Mul<Vec2d<u16>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u32>> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Mul<Vec2d<u32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u32>> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Mul<Vec2d<u32>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u64>> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Mul<Vec2d<u64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u64>> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Mul<Vec2d<u64>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u128>> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Mul<Vec2d<u128>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<u128>> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Mul<Vec2d<u128>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<usize>> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Mul<Vec2d<usize>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&Vec2d<usize>> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Mul<Vec2d<usize>>>::Output

Performs the * operation. Read more
Source§

impl Mul<&f32> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul<f32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &f32) -> <Vec2d<f32> as Mul<f32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&f32> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul<f32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &f32) -> <Vec2d<f32> as Mul<f32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&f64> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul<f64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &f64) -> <Vec2d<f64> as Mul<f64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&f64> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul<f64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &f64) -> <Vec2d<f64> as Mul<f64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i8> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul<i8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i8) -> <Vec2d<i8> as Mul<i8>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i8> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul<i8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i8) -> <Vec2d<i8> as Mul<i8>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i16> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul<i16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i16) -> <Vec2d<i16> as Mul<i16>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i16> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul<i16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i16) -> <Vec2d<i16> as Mul<i16>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i32> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul<i32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i32) -> <Vec2d<i32> as Mul<i32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i32> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul<i32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i32) -> <Vec2d<i32> as Mul<i32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i64> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul<i64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i64) -> <Vec2d<i64> as Mul<i64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i64> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul<i64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i64) -> <Vec2d<i64> as Mul<i64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i128> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul<i128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i128) -> <Vec2d<i128> as Mul<i128>>::Output

Performs the * operation. Read more
Source§

impl Mul<&i128> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul<i128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &i128) -> <Vec2d<i128> as Mul<i128>>::Output

Performs the * operation. Read more
Source§

impl Mul<&isize> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul<isize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &isize) -> <Vec2d<isize> as Mul<isize>>::Output

Performs the * operation. Read more
Source§

impl Mul<&isize> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul<isize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &isize) -> <Vec2d<isize> as Mul<isize>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u8> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul<u8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u8) -> <Vec2d<u8> as Mul<u8>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u8> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul<u8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u8) -> <Vec2d<u8> as Mul<u8>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u16> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul<u16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u16) -> <Vec2d<u16> as Mul<u16>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u16> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul<u16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u16) -> <Vec2d<u16> as Mul<u16>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u32> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul<u32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <Vec2d<u32> as Mul<u32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u32> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul<u32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u32) -> <Vec2d<u32> as Mul<u32>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u64> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul<u64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u64) -> <Vec2d<u64> as Mul<u64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u64> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul<u64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u64) -> <Vec2d<u64> as Mul<u64>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u128> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul<u128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u128) -> <Vec2d<u128> as Mul<u128>>::Output

Performs the * operation. Read more
Source§

impl Mul<&u128> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul<u128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &u128) -> <Vec2d<u128> as Mul<u128>>::Output

Performs the * operation. Read more
Source§

impl Mul<&usize> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul<usize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &usize) -> <Vec2d<usize> as Mul<usize>>::Output

Performs the * operation. Read more
Source§

impl Mul<&usize> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul<usize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &usize) -> <Vec2d<usize> as Mul<usize>>::Output

Performs the * operation. Read more
Source§

impl<T: Mul + Copy> Mul<T> for Vec2d<T>

Multiply Vec2d by scalar

Source§

type Output = Vec2d<<T as Mul>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<f32>> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<f32>) -> <Vec2d<f32> as Mul<Vec2d<f32>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<f64>> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<f64>) -> <Vec2d<f64> as Mul<Vec2d<f64>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<i8>> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<i8>) -> <Vec2d<i8> as Mul<Vec2d<i8>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<i16>> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<i16>) -> <Vec2d<i16> as Mul<Vec2d<i16>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<i32>> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<i32>) -> <Vec2d<i32> as Mul<Vec2d<i32>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<i64>> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<i64>) -> <Vec2d<i64> as Mul<Vec2d<i64>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<i128>> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<i128>) -> <Vec2d<i128> as Mul<Vec2d<i128>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<isize>> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<isize>) -> <Vec2d<isize> as Mul<Vec2d<isize>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<u8>> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<u8>) -> <Vec2d<u8> as Mul<Vec2d<u8>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<u16>> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<u16>) -> <Vec2d<u16> as Mul<Vec2d<u16>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<u32>> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<u32>) -> <Vec2d<u32> as Mul<Vec2d<u32>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<u64>> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<u64>) -> <Vec2d<u64> as Mul<Vec2d<u64>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<u128>> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<u128>) -> <Vec2d<u128> as Mul<Vec2d<u128>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<Vec2d<usize>> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: Vec2d<usize>) -> <Vec2d<usize> as Mul<Vec2d<usize>>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<f32> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Mul<f32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: f32) -> <Vec2d<f32> as Mul<f32>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<f64> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Mul<f64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> <Vec2d<f64> as Mul<f64>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i8> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Mul<i8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: i8) -> <Vec2d<i8> as Mul<i8>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i16> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Mul<i16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: i16) -> <Vec2d<i16> as Mul<i16>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i32> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Mul<i32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: i32) -> <Vec2d<i32> as Mul<i32>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i64> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Mul<i64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: i64) -> <Vec2d<i64> as Mul<i64>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<i128> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Mul<i128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: i128) -> <Vec2d<i128> as Mul<i128>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<isize> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Mul<isize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: isize) -> <Vec2d<isize> as Mul<isize>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<u8> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Mul<u8>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: u8) -> <Vec2d<u8> as Mul<u8>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<u16> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Mul<u16>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: u16) -> <Vec2d<u16> as Mul<u16>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<u32> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Mul<u32>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: u32) -> <Vec2d<u32> as Mul<u32>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<u64> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Mul<u64>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: u64) -> <Vec2d<u64> as Mul<u64>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<u128> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Mul<u128>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: u128) -> <Vec2d<u128> as Mul<u128>>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<usize> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Mul<usize>>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: usize) -> <Vec2d<usize> as Mul<usize>>::Output

Performs the * operation. Read more
Source§

impl<T: MulAssign> MulAssign for Vec2d<T>

Multiply this Vec2d by a Vec2d

Source§

fn mul_assign(&mut self, rhs: Self)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<f32>> for Vec2d<f32>

Source§

fn mul_assign(&mut self, other: &Vec2d<f32>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<f64>> for Vec2d<f64>

Source§

fn mul_assign(&mut self, other: &Vec2d<f64>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<i8>> for Vec2d<i8>

Source§

fn mul_assign(&mut self, other: &Vec2d<i8>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<i16>> for Vec2d<i16>

Source§

fn mul_assign(&mut self, other: &Vec2d<i16>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<i32>> for Vec2d<i32>

Source§

fn mul_assign(&mut self, other: &Vec2d<i32>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<i64>> for Vec2d<i64>

Source§

fn mul_assign(&mut self, other: &Vec2d<i64>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<i128>> for Vec2d<i128>

Source§

fn mul_assign(&mut self, other: &Vec2d<i128>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<isize>> for Vec2d<isize>

Source§

fn mul_assign(&mut self, other: &Vec2d<isize>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<u8>> for Vec2d<u8>

Source§

fn mul_assign(&mut self, other: &Vec2d<u8>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<u16>> for Vec2d<u16>

Source§

fn mul_assign(&mut self, other: &Vec2d<u16>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<u32>> for Vec2d<u32>

Source§

fn mul_assign(&mut self, other: &Vec2d<u32>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<u64>> for Vec2d<u64>

Source§

fn mul_assign(&mut self, other: &Vec2d<u64>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<u128>> for Vec2d<u128>

Source§

fn mul_assign(&mut self, other: &Vec2d<u128>)

Performs the *= operation. Read more
Source§

impl MulAssign<&Vec2d<usize>> for Vec2d<usize>

Source§

fn mul_assign(&mut self, other: &Vec2d<usize>)

Performs the *= operation. Read more
Source§

impl MulAssign<&f32> for Vec2d<f32>

Source§

fn mul_assign(&mut self, other: &f32)

Performs the *= operation. Read more
Source§

impl MulAssign<&f64> for Vec2d<f64>

Source§

fn mul_assign(&mut self, other: &f64)

Performs the *= operation. Read more
Source§

impl MulAssign<&i8> for Vec2d<i8>

Source§

fn mul_assign(&mut self, other: &i8)

Performs the *= operation. Read more
Source§

impl MulAssign<&i16> for Vec2d<i16>

Source§

fn mul_assign(&mut self, other: &i16)

Performs the *= operation. Read more
Source§

impl MulAssign<&i32> for Vec2d<i32>

Source§

fn mul_assign(&mut self, other: &i32)

Performs the *= operation. Read more
Source§

impl MulAssign<&i64> for Vec2d<i64>

Source§

fn mul_assign(&mut self, other: &i64)

Performs the *= operation. Read more
Source§

impl MulAssign<&i128> for Vec2d<i128>

Source§

fn mul_assign(&mut self, other: &i128)

Performs the *= operation. Read more
Source§

impl MulAssign<&isize> for Vec2d<isize>

Source§

fn mul_assign(&mut self, other: &isize)

Performs the *= operation. Read more
Source§

impl MulAssign<&u8> for Vec2d<u8>

Source§

fn mul_assign(&mut self, other: &u8)

Performs the *= operation. Read more
Source§

impl MulAssign<&u16> for Vec2d<u16>

Source§

fn mul_assign(&mut self, other: &u16)

Performs the *= operation. Read more
Source§

impl MulAssign<&u32> for Vec2d<u32>

Source§

fn mul_assign(&mut self, other: &u32)

Performs the *= operation. Read more
Source§

impl MulAssign<&u64> for Vec2d<u64>

Source§

fn mul_assign(&mut self, other: &u64)

Performs the *= operation. Read more
Source§

impl MulAssign<&u128> for Vec2d<u128>

Source§

fn mul_assign(&mut self, other: &u128)

Performs the *= operation. Read more
Source§

impl MulAssign<&usize> for Vec2d<usize>

Source§

fn mul_assign(&mut self, other: &usize)

Performs the *= operation. Read more
Source§

impl<T: MulAssign + Copy> MulAssign<T> for Vec2d<T>

Multiply this Vec2d by scalar

Source§

fn mul_assign(&mut self, rhs: T)

Performs the *= operation. Read more
Source§

impl<T: Neg> Neg for Vec2d<T>

Invert the sign of a Vec2d

Source§

type Output = Vec2d<<T as Neg>::Output>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<T: PartialEq> PartialEq for Vec2d<T>

Source§

fn eq(&self, other: &Vec2d<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialOrd> PartialOrd for Vec2d<T>

Source§

fn partial_cmp(&self, other: &Vec2d<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<T: PartialEq> StructuralPartialEq for Vec2d<T>

Source§

impl<T: Sub> Sub for Vec2d<T>

Subtract a Vec2d from this Vec2d

Source§

type Output = Vec2d<<T as Sub>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<f32>> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Sub<Vec2d<f32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<f32>> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<f32>) -> <Vec2d<f32> as Sub<Vec2d<f32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<f64>> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Sub<Vec2d<f64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<f64>> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<f64>) -> <Vec2d<f64> as Sub<Vec2d<f64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i8>> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Sub<Vec2d<i8>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i8>> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i8>) -> <Vec2d<i8> as Sub<Vec2d<i8>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i16>> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Sub<Vec2d<i16>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i16>> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i16>) -> <Vec2d<i16> as Sub<Vec2d<i16>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i32>> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Sub<Vec2d<i32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i32>> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i32>) -> <Vec2d<i32> as Sub<Vec2d<i32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i64>> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Sub<Vec2d<i64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i64>> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i64>) -> <Vec2d<i64> as Sub<Vec2d<i64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i128>> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Sub<Vec2d<i128>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<i128>> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<i128>) -> <Vec2d<i128> as Sub<Vec2d<i128>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<isize>> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Sub<Vec2d<isize>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<isize>> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub( self, other: &Vec2d<isize>, ) -> <Vec2d<isize> as Sub<Vec2d<isize>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u8>> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Sub<Vec2d<u8>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u8>> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u8>) -> <Vec2d<u8> as Sub<Vec2d<u8>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u16>> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Sub<Vec2d<u16>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u16>> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u16>) -> <Vec2d<u16> as Sub<Vec2d<u16>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u32>> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Sub<Vec2d<u32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u32>> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u32>) -> <Vec2d<u32> as Sub<Vec2d<u32>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u64>> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Sub<Vec2d<u64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u64>> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u64>) -> <Vec2d<u64> as Sub<Vec2d<u64>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u128>> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Sub<Vec2d<u128>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<u128>> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &Vec2d<u128>) -> <Vec2d<u128> as Sub<Vec2d<u128>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<usize>> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Sub<Vec2d<usize>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&Vec2d<usize>> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub( self, other: &Vec2d<usize>, ) -> <Vec2d<usize> as Sub<Vec2d<usize>>>::Output

Performs the - operation. Read more
Source§

impl Sub<&f32> for Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub<f32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &f32) -> <Vec2d<f32> as Sub<f32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&f32> for &Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub<f32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &f32) -> <Vec2d<f32> as Sub<f32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&f64> for Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub<f64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &f64) -> <Vec2d<f64> as Sub<f64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&f64> for &Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub<f64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &f64) -> <Vec2d<f64> as Sub<f64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i8> for Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub<i8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i8) -> <Vec2d<i8> as Sub<i8>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i8> for &Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub<i8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i8) -> <Vec2d<i8> as Sub<i8>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i16> for Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub<i16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i16) -> <Vec2d<i16> as Sub<i16>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i16> for &Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub<i16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i16) -> <Vec2d<i16> as Sub<i16>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i32> for Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub<i32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i32) -> <Vec2d<i32> as Sub<i32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i32> for &Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub<i32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i32) -> <Vec2d<i32> as Sub<i32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i64> for Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub<i64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i64) -> <Vec2d<i64> as Sub<i64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i64> for &Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub<i64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i64) -> <Vec2d<i64> as Sub<i64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i128> for Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub<i128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i128) -> <Vec2d<i128> as Sub<i128>>::Output

Performs the - operation. Read more
Source§

impl Sub<&i128> for &Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub<i128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &i128) -> <Vec2d<i128> as Sub<i128>>::Output

Performs the - operation. Read more
Source§

impl Sub<&isize> for Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub<isize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &isize) -> <Vec2d<isize> as Sub<isize>>::Output

Performs the - operation. Read more
Source§

impl Sub<&isize> for &Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub<isize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &isize) -> <Vec2d<isize> as Sub<isize>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u8> for Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub<u8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u8) -> <Vec2d<u8> as Sub<u8>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u8> for &Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub<u8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u8) -> <Vec2d<u8> as Sub<u8>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u16> for Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub<u16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u16) -> <Vec2d<u16> as Sub<u16>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u16> for &Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub<u16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u16) -> <Vec2d<u16> as Sub<u16>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u32> for Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub<u32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <Vec2d<u32> as Sub<u32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u32> for &Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub<u32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u32) -> <Vec2d<u32> as Sub<u32>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u64> for Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub<u64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u64) -> <Vec2d<u64> as Sub<u64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u64> for &Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub<u64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u64) -> <Vec2d<u64> as Sub<u64>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u128> for Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub<u128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u128) -> <Vec2d<u128> as Sub<u128>>::Output

Performs the - operation. Read more
Source§

impl Sub<&u128> for &Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub<u128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &u128) -> <Vec2d<u128> as Sub<u128>>::Output

Performs the - operation. Read more
Source§

impl Sub<&usize> for Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub<usize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &usize) -> <Vec2d<usize> as Sub<usize>>::Output

Performs the - operation. Read more
Source§

impl Sub<&usize> for &Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub<usize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &usize) -> <Vec2d<usize> as Sub<usize>>::Output

Performs the - operation. Read more
Source§

impl<T: Sub + Copy> Sub<T> for Vec2d<T>

Subtract a scalar from this Vec2d

Source§

type Output = Vec2d<<T as Sub>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: T) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<f32>> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<f32>) -> <Vec2d<f32> as Sub<Vec2d<f32>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<f64>> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<f64>) -> <Vec2d<f64> as Sub<Vec2d<f64>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<i8>> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<i8>) -> <Vec2d<i8> as Sub<Vec2d<i8>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<i16>> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<i16>) -> <Vec2d<i16> as Sub<Vec2d<i16>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<i32>> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<i32>) -> <Vec2d<i32> as Sub<Vec2d<i32>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<i64>> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<i64>) -> <Vec2d<i64> as Sub<Vec2d<i64>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<i128>> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<i128>) -> <Vec2d<i128> as Sub<Vec2d<i128>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<isize>> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<isize>) -> <Vec2d<isize> as Sub<Vec2d<isize>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<u8>> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<u8>) -> <Vec2d<u8> as Sub<Vec2d<u8>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<u16>> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<u16>) -> <Vec2d<u16> as Sub<Vec2d<u16>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<u32>> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<u32>) -> <Vec2d<u32> as Sub<Vec2d<u32>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<u64>> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<u64>) -> <Vec2d<u64> as Sub<Vec2d<u64>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<u128>> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<u128>) -> <Vec2d<u128> as Sub<Vec2d<u128>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<Vec2d<usize>> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: Vec2d<usize>) -> <Vec2d<usize> as Sub<Vec2d<usize>>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<f32> for &'a Vec2d<f32>

Source§

type Output = <Vec2d<f32> as Sub<f32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: f32) -> <Vec2d<f32> as Sub<f32>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<f64> for &'a Vec2d<f64>

Source§

type Output = <Vec2d<f64> as Sub<f64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: f64) -> <Vec2d<f64> as Sub<f64>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i8> for &'a Vec2d<i8>

Source§

type Output = <Vec2d<i8> as Sub<i8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: i8) -> <Vec2d<i8> as Sub<i8>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i16> for &'a Vec2d<i16>

Source§

type Output = <Vec2d<i16> as Sub<i16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: i16) -> <Vec2d<i16> as Sub<i16>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i32> for &'a Vec2d<i32>

Source§

type Output = <Vec2d<i32> as Sub<i32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: i32) -> <Vec2d<i32> as Sub<i32>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i64> for &'a Vec2d<i64>

Source§

type Output = <Vec2d<i64> as Sub<i64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: i64) -> <Vec2d<i64> as Sub<i64>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<i128> for &'a Vec2d<i128>

Source§

type Output = <Vec2d<i128> as Sub<i128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: i128) -> <Vec2d<i128> as Sub<i128>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<isize> for &'a Vec2d<isize>

Source§

type Output = <Vec2d<isize> as Sub<isize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: isize) -> <Vec2d<isize> as Sub<isize>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<u8> for &'a Vec2d<u8>

Source§

type Output = <Vec2d<u8> as Sub<u8>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: u8) -> <Vec2d<u8> as Sub<u8>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<u16> for &'a Vec2d<u16>

Source§

type Output = <Vec2d<u16> as Sub<u16>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: u16) -> <Vec2d<u16> as Sub<u16>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<u32> for &'a Vec2d<u32>

Source§

type Output = <Vec2d<u32> as Sub<u32>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: u32) -> <Vec2d<u32> as Sub<u32>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<u64> for &'a Vec2d<u64>

Source§

type Output = <Vec2d<u64> as Sub<u64>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: u64) -> <Vec2d<u64> as Sub<u64>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<u128> for &'a Vec2d<u128>

Source§

type Output = <Vec2d<u128> as Sub<u128>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: u128) -> <Vec2d<u128> as Sub<u128>>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<usize> for &'a Vec2d<usize>

Source§

type Output = <Vec2d<usize> as Sub<usize>>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: usize) -> <Vec2d<usize> as Sub<usize>>::Output

Performs the - operation. Read more
Source§

impl<T: SubAssign> SubAssign for Vec2d<T>

Subtract Vec2d from this Vec2d

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<f32>> for Vec2d<f32>

Source§

fn sub_assign(&mut self, other: &Vec2d<f32>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<f64>> for Vec2d<f64>

Source§

fn sub_assign(&mut self, other: &Vec2d<f64>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<i8>> for Vec2d<i8>

Source§

fn sub_assign(&mut self, other: &Vec2d<i8>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<i16>> for Vec2d<i16>

Source§

fn sub_assign(&mut self, other: &Vec2d<i16>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<i32>> for Vec2d<i32>

Source§

fn sub_assign(&mut self, other: &Vec2d<i32>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<i64>> for Vec2d<i64>

Source§

fn sub_assign(&mut self, other: &Vec2d<i64>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<i128>> for Vec2d<i128>

Source§

fn sub_assign(&mut self, other: &Vec2d<i128>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<isize>> for Vec2d<isize>

Source§

fn sub_assign(&mut self, other: &Vec2d<isize>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<u8>> for Vec2d<u8>

Source§

fn sub_assign(&mut self, other: &Vec2d<u8>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<u16>> for Vec2d<u16>

Source§

fn sub_assign(&mut self, other: &Vec2d<u16>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<u32>> for Vec2d<u32>

Source§

fn sub_assign(&mut self, other: &Vec2d<u32>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<u64>> for Vec2d<u64>

Source§

fn sub_assign(&mut self, other: &Vec2d<u64>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<u128>> for Vec2d<u128>

Source§

fn sub_assign(&mut self, other: &Vec2d<u128>)

Performs the -= operation. Read more
Source§

impl SubAssign<&Vec2d<usize>> for Vec2d<usize>

Source§

fn sub_assign(&mut self, other: &Vec2d<usize>)

Performs the -= operation. Read more
Source§

impl SubAssign<&f32> for Vec2d<f32>

Source§

fn sub_assign(&mut self, other: &f32)

Performs the -= operation. Read more
Source§

impl SubAssign<&f64> for Vec2d<f64>

Source§

fn sub_assign(&mut self, other: &f64)

Performs the -= operation. Read more
Source§

impl SubAssign<&i8> for Vec2d<i8>

Source§

fn sub_assign(&mut self, other: &i8)

Performs the -= operation. Read more
Source§

impl SubAssign<&i16> for Vec2d<i16>

Source§

fn sub_assign(&mut self, other: &i16)

Performs the -= operation. Read more
Source§

impl SubAssign<&i32> for Vec2d<i32>

Source§

fn sub_assign(&mut self, other: &i32)

Performs the -= operation. Read more
Source§

impl SubAssign<&i64> for Vec2d<i64>

Source§

fn sub_assign(&mut self, other: &i64)

Performs the -= operation. Read more
Source§

impl SubAssign<&i128> for Vec2d<i128>

Source§

fn sub_assign(&mut self, other: &i128)

Performs the -= operation. Read more
Source§

impl SubAssign<&isize> for Vec2d<isize>

Source§

fn sub_assign(&mut self, other: &isize)

Performs the -= operation. Read more
Source§

impl SubAssign<&u8> for Vec2d<u8>

Source§

fn sub_assign(&mut self, other: &u8)

Performs the -= operation. Read more
Source§

impl SubAssign<&u16> for Vec2d<u16>

Source§

fn sub_assign(&mut self, other: &u16)

Performs the -= operation. Read more
Source§

impl SubAssign<&u32> for Vec2d<u32>

Source§

fn sub_assign(&mut self, other: &u32)

Performs the -= operation. Read more
Source§

impl SubAssign<&u64> for Vec2d<u64>

Source§

fn sub_assign(&mut self, other: &u64)

Performs the -= operation. Read more
Source§

impl SubAssign<&u128> for Vec2d<u128>

Source§

fn sub_assign(&mut self, other: &u128)

Performs the -= operation. Read more
Source§

impl SubAssign<&usize> for Vec2d<usize>

Source§

fn sub_assign(&mut self, other: &usize)

Performs the -= operation. Read more
Source§

impl<T: SubAssign + Copy> SubAssign<T> for Vec2d<T>

Subtract scalar from this Vec2d

Source§

fn sub_assign(&mut self, rhs: T)

Performs the -= operation. Read more

Auto Trait Implementations§

§

impl<T> Freeze for Vec2d<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Vec2d<T>
where T: RefUnwindSafe,

§

impl<T> Send for Vec2d<T>
where T: Send,

§

impl<T> Sync for Vec2d<T>
where T: Sync,

§

impl<T> Unpin for Vec2d<T>
where T: Unpin,

§

impl<T> UnsafeUnpin for Vec2d<T>
where T: UnsafeUnpin,

§

impl<T> UnwindSafe for Vec2d<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.