[][src]Struct oxygengine_procedural::world_2d_climate_simulation::World2dClimateSimulationVector

pub struct World2dClimateSimulationVector(pub Scalar, pub Scalar);

Implementations

impl World2dClimateSimulationVector[src]

pub fn neg_x(self) -> Self[src]

pub fn neg_y(self) -> Self[src]

pub fn dot(self, other: Self) -> Scalar[src]

pub fn refract(self, normal: Self) -> Self[src]

pub fn magnitude_sqr(self) -> Scalar[src]

pub fn magnitude(self) -> Scalar[src]

pub fn normalized(self) -> Self[src]

Trait Implementations

impl Add<World2dClimateSimulationVector> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<f32> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for World2dClimateSimulationVector[src]

impl Copy for World2dClimateSimulationVector[src]

impl Debug for World2dClimateSimulationVector[src]

impl Default for World2dClimateSimulationVector[src]

impl<'de> Deserialize<'de> for World2dClimateSimulationVector[src]

impl Div<World2dClimateSimulationVector> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the / operator.

impl Div<f32> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the / operator.

impl From<(f32, f32)> for World2dClimateSimulationVector[src]

impl Into<(f32, f32)> for World2dClimateSimulationVector[src]

impl Mul<World2dClimateSimulationVector> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the * operator.

impl Mul<f32> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the * operator.

impl Neg for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the - operator.

impl PartialEq<World2dClimateSimulationVector> for World2dClimateSimulationVector[src]

impl Serialize for World2dClimateSimulationVector[src]

impl StructuralPartialEq for World2dClimateSimulationVector[src]

impl Sub<World2dClimateSimulationVector> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<f32> for World2dClimateSimulationVector[src]

type Output = Self

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.