Skip to main content

effective_range_for_cast

Function effective_range_for_cast 

Source
fn effective_range_for_cast(
    source_type: ElementaryType,
    source_range: IntegerRange,
    target_type: ElementaryType,
) -> Option<IntegerRange>