1 2 3 4 5 6 7 8 9 10
extern crate alloc; use alloc::vec::Vec; pub type KeyType = u64; pub trait Factor { fn keys(&mut self) -> &mut Vec<KeyType>; } pub trait NonlinearFactor: Factor {}