Trait glm::PrimCast [] [src]

pub trait PrimCast: ToPrim {
    fn from<F: ToPrim>(p: F) -> Option<Self>;
}

This trait provides parameterized function from.

Required Methods

Converts from a value with primitive type p.

Implementations on Foreign Types

impl PrimCast for i32
[src]

impl PrimCast for u32
[src]

impl PrimCast for f32
[src]

impl PrimCast for f64
[src]

impl PrimCast for bool
[src]

Implementors