Skip to main content

select_framework_profiles

Function select_framework_profiles 

Source
pub fn select_framework_profiles<T: Copy>(
    profiles: &[T],
    name_of: impl Fn(T) -> &'static str,
    detect: impl Fn(T) -> bool,
    selection: FrameworkProfileSelection,
    unknown_error: impl Fn(&str) -> String,
) -> Result<Vec<T>, String>