pub trait Lanes {
// Required methods
fn shape(&self) -> LaneShape;
fn add(&mut self, a: u32, b: u32, cin: u32) -> (u32, u32);
fn sub(&mut self, a: u32, b: u32, bin: u32) -> (u32, u32);
fn mul(&mut self, a: u32, b: u32) -> u32;
}Expand description
A device’s datapath executing lane operations. The arithmetic ones are where devices differ (exact digital units, or the analog plane settling a column); the rest are the digital side of every device.