Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // For a trait of general number
- extern crate num;
- use std::fmt;
- use std::ops::Add;
- pub struct Vector<T> where T: Copy + fmt::Display + num::Num {
- vec: Vec<T>,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement