You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: locale_directionality.rs
    path of file: ./repos/icu4x/ffi/capi/src
    
    the code of the file until where you have to start completion: // This file is part of ICU4X. For terms of use, please see the file
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE 
    
        pub fn get(&self, locale: &ICU4XLocale) -> ICU4XLocaleDirection {
            match self.0.get(&locale.0) {
                Some(Direction::LeftToRight) => ICU4XLocaleDirection::LeftToRight,
                Some(Direction::RightToLeft) => ICU4XLocaleDirection::RightToLeft,
                _ => ICU4XLocaleDirection::Unknown,
            }
        }