[][src]Struct boostvoronoi::TypeConverter

pub struct TypeConverter<I1, F1, I2, F2> where
    I1: InputType + Neg<Output = I1>,
    F1: OutputType + Neg<Output = F1>,
    I2: InputType + Neg<Output = I2>,
    F2: OutputType + Neg<Output = F2>, 
{ /* fields omitted */ }

Implementations

impl<I1, F1, I2, F2> TypeConverter<I1, F1, I2, F2> where
    I1: InputType + Neg<Output = I1>,
    F1: OutputType + Neg<Output = F1>,
    I2: InputType + Neg<Output = I2>,
    F2: OutputType + Neg<Output = F2>, 
[src]

pub fn i1_to_f1(input: I1) -> F1[src]

pub fn i1_to_f2(input: I1) -> F2[src]

pub fn i1_to_bi(input: I1) -> BigInt[src]

pub fn i1_to_i128(input: I1) -> i128[src]

pub fn i2_to_bi(input: I2) -> BigInt[src]

pub fn i2_to_f1(input: I2) -> F1[src]

pub fn i2_to_f2(input: I2) -> F2[src]

pub fn bi_to_f2(input: &BigInt) -> F2[src]

pub fn f2_to_f1(input: F2) -> F1[src]

pub fn f1_to_f2(input: F1) -> F2[src]

pub fn f1_to_f64(input: F1) -> f64[src]

pub fn f2_to_f64(input: F2) -> f64[src]

pub fn f1_to_i1(input: F1) -> I1[src]

pub fn i1_to_i2(input: I1) -> I2[src]

pub fn f32_to_f1(input: f32) -> F1[src]

pub fn f32_to_f2(input: f32) -> F2[src]

pub fn i32_to_i1(input: i32) -> I1[src]

pub fn i1_to_i32(input: I1) -> i32[src]

pub fn i1_to_f64(input: I1) -> f64[src]

pub fn u64_to_f2(input: u64) -> F2[src]

Trait Implementations

impl<I1: Default, F1: Default, I2: Default, F2: Default> Default for TypeConverter<I1, F1, I2, F2> where
    I1: InputType + Neg<Output = I1>,
    F1: OutputType + Neg<Output = F1>,
    I2: InputType + Neg<Output = I2>,
    F2: OutputType + Neg<Output = F2>, 
[src]

Auto Trait Implementations

impl<I1, F1, I2, F2> RefUnwindSafe for TypeConverter<I1, F1, I2, F2> where
    F1: RefUnwindSafe,
    F2: RefUnwindSafe,
    I1: RefUnwindSafe,
    I2: RefUnwindSafe
[src]

impl<I1, F1, I2, F2> Send for TypeConverter<I1, F1, I2, F2> where
    F1: Send,
    F2: Send,
    I1: Send,
    I2: Send
[src]

impl<I1, F1, I2, F2> Sync for TypeConverter<I1, F1, I2, F2> where
    F1: Sync,
    F2: Sync,
    I1: Sync,
    I2: Sync
[src]

impl<I1, F1, I2, F2> Unpin for TypeConverter<I1, F1, I2, F2> where
    F1: Unpin,
    F2: Unpin,
    I1: Unpin,
    I2: Unpin
[src]

impl<I1, F1, I2, F2> UnwindSafe for TypeConverter<I1, F1, I2, F2> where
    F1: UnwindSafe,
    F2: UnwindSafe,
    I1: UnwindSafe,
    I2: UnwindSafe
[src]

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.