1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! Provides a binary on native CPU. use binary::IBinary; #[derive(Debug, Copy, Clone)] /// Defines a host CPU binary. pub struct Binary { id: isize, } impl Binary { /// Initializes the native CPU binary. pub fn new() -> Binary { Binary { id: 0, } } } impl IBinary for Binary {}