Trait interpolation::Spatial [−][src]
Used for interpolation over spatial structures.
Associated Types
Loading content...Required methods
fn add(&self, other: &Self) -> Self[src]
Add
fn sub(&self, other: &Self) -> Self[src]
Subtract
fn scale(&self, scalar: &Self::Scalar) -> Self[src]
Scales with a scalar.
Implementations on Foreign Types
impl Spatial for f32[src]
type Scalar = f32
fn add(&self, other: &f32) -> f32[src]
fn sub(&self, other: &f32) -> f32[src]
fn scale(&self, other: &f32) -> f32[src]
impl Spatial for f64[src]
type Scalar = f64
fn add(&self, other: &f64) -> f64[src]
fn sub(&self, other: &f64) -> f64[src]
fn scale(&self, other: &f64) -> f64[src]
impl Spatial for i8[src]
type Scalar = f32
fn add(&self, other: &i8) -> i8[src]
fn sub(&self, other: &i8) -> i8[src]
fn scale(&self, other: &f32) -> i8[src]
impl Spatial for i16[src]
type Scalar = f32
fn add(&self, other: &i16) -> i16[src]
fn sub(&self, other: &i16) -> i16[src]
fn scale(&self, other: &f32) -> i16[src]
impl Spatial for i32[src]
type Scalar = f32
fn add(&self, other: &i32) -> i32[src]
fn sub(&self, other: &i32) -> i32[src]
fn scale(&self, other: &f32) -> i32[src]
impl Spatial for i64[src]
type Scalar = f64
fn add(&self, other: &i64) -> i64[src]
fn sub(&self, other: &i64) -> i64[src]
fn scale(&self, other: &f64) -> i64[src]
impl Spatial for u8[src]
type Scalar = f32
fn add(&self, other: &u8) -> u8[src]
fn sub(&self, other: &u8) -> u8[src]
fn scale(&self, other: &f32) -> u8[src]
impl Spatial for u16[src]
type Scalar = f32
fn add(&self, other: &u16) -> u16[src]
fn sub(&self, other: &u16) -> u16[src]
fn scale(&self, other: &f32) -> u16[src]
impl Spatial for u32[src]
type Scalar = f32
fn add(&self, other: &u32) -> u32[src]
fn sub(&self, other: &u32) -> u32[src]
fn scale(&self, other: &f32) -> u32[src]
impl Spatial for u64[src]
type Scalar = f64
fn add(&self, other: &u64) -> u64[src]
fn sub(&self, other: &u64) -> u64[src]
fn scale(&self, other: &f64) -> u64[src]
impl<T> Spatial for [T; 2] where
T: Spatial, [src]
T: Spatial,
type Scalar = T::Scalar
fn add(&self, other: &Self) -> Self[src]
fn sub(&self, other: &Self) -> Self[src]
fn scale(&self, scalar: &Self::Scalar) -> Self[src]
impl<T> Spatial for [T; 3] where
T: Spatial, [src]
T: Spatial,
type Scalar = T::Scalar
fn add(&self, other: &Self) -> Self[src]
fn sub(&self, other: &Self) -> Self[src]
fn scale(&self, scalar: &Self::Scalar) -> Self[src]
impl<T> Spatial for [T; 4] where
T: Spatial, [src]
T: Spatial,