Skip to main content

float_lte

Function float_lte 

Source
pub fn float_lte(
    field_context: &FieldContext<'_>,
    value: f32,
    target: f32,
    error_message: &'static str,
) -> Result<(), Violation>