Function graphics::math::add
[−]
[src]
pub fn add<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where T: Copy + Add<T, Output=T>
Adds two vectors.
pub fn add<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where T: Copy + Add<T, Output=T>
Adds two vectors.
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
).