Struct direct2d::math::Vector2F
[−]
[src]
#[repr(C)]pub struct Vector2F(pub D2D_VECTOR_2F);
Methods
impl Vector2F
[src]
Trait Implementations
impl Copy for Vector2F
[src]
impl Clone for Vector2F
[src]
fn clone(&self) -> Vector2F
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Vector2F
[src]
impl Deref for Vector2F
[src]
type Target = D2D_VECTOR_2F
The resulting type after dereferencing
fn deref(&self) -> &D2D_VECTOR_2F
The method called to dereference a value
impl DerefMut for Vector2F
[src]
fn deref_mut(&mut self) -> &mut D2D_VECTOR_2F
The method called to mutably dereference a value
impl From<(f32, f32)> for Vector2F
[src]
impl Add for Vector2F
[src]
type Output = Vector2F
The resulting type after applying the +
operator
fn add(self, rhs: Vector2F) -> Vector2F
The method for the +
operator
impl Add<Point2F> for Vector2F
[src]
type Output = Point2F
The resulting type after applying the +
operator
fn add(self, rhs: Point2F) -> Point2F
The method for the +
operator
impl Neg for Vector2F
[src]
type Output = Vector2F
The resulting type after applying the -
operator
fn neg(self) -> Vector2F
The method for the unary -
operator
impl Mul<f32> for Vector2F
[src]
type Output = Vector2F
The resulting type after applying the *
operator
fn mul(self, rhs: f32) -> Vector2F
The method for the *
operator
impl Div<f32> for Vector2F
[src]
type Output = Vector2F
The resulting type after applying the /
operator
fn div(self, rhs: f32) -> Vector2F
The method for the /
operator
impl Mul<Matrix3x2F> for Vector2F
[src]
type Output = Vector2F
The resulting type after applying the *
operator
fn mul(self, rhs: Matrix3x2F) -> Vector2F
The method for the *
operator