Function graphics::math::mul_scalar
[−]
[src]
pub fn mul_scalar<T>(a: [T; 2], b: T) -> [T; 2] where T: Copy + Mul<T, Output=T>
Multiplies the vector with a scalar.
pub fn mul_scalar<T>(a: [T; 2], b: T) -> [T; 2] where T: Copy + Mul<T, Output=T>
Multiplies the vector with a scalar.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).