I have a struct that looks like this. How can i implement Copy on it? the only way i can see is to 1. make params and returns borrows, but then i need to a lifetimes everywhere and rewrite the 90% of my project. Or 2. turn the Vecs to arrays and limit the length, which i don't really want to do.
#[derive(Debug, PartialEq, Clone, Copy)]
pub struct FuncPtr {
pub ptr: usize,
pub params: Vec<TypeLiteral>,
pub returns: Vec<TypeLiteral>
}