Skip to main content

to_resolution

Function to_resolution 

Source
pub fn to_resolution<const TARGET_FRAC: usize, I, L, R>(
    expr: DivExpression<L, R>,
) -> Fixed<I, TARGET_FRAC>
where Fixed<I, TARGET_FRAC>: From<DivExpression<L, R>>,
Expand description

Helper to coerce a division expression to a specific target resolution.