rust_icu_uloc

Function accept_language

Source
pub fn accept_language(
    accept_list: impl IntoIterator<Item = impl Into<ULoc>>,
    available_locales: impl IntoIterator<Item = impl Into<ULoc>>,
) -> Result<(Option<ULoc>, UAcceptResult), Error>
Expand description

Implements uloc_acceptLanguage from ICU4C.