Function hotdrink_rs::examples::components::numbers::product_with_defaults [−][src]
pub fn product_with_defaults<T>(a: T, b: T, c: T) -> Component<T> where
T: Mul<Output = T> + Div<Output = T> + Copy,
A predefined component with three numeric variables a, b, and c that satisfy the constraint a * b = c
.
This one also requires that the default values are provided to avoid the Default
restriction.