Struct gfx::device::attrib::FixedPoint
[−]
[src]
pub struct FixedPoint<T>(pub T);
Fixed-point version of integer attributes.
Methods
impl<T: Copy> FixedPoint<T>
fn cast2(a: [T; 2]) -> [FixedPoint<T>; 2]
Cast a fixed-size2 array to fixed-point.
fn cast3(a: [T; 3]) -> [FixedPoint<T>; 3]
Cast a fixed-size3 array to fixed-point.
fn cast4(a: [T; 4]) -> [FixedPoint<T>; 4]
Cast a fixed-size4 array to fixed-point.