// return true if the super_sort_key covers sort_key and same column order
return true if the super_sort_key covers sort_key and same column order
return true if the super_sort_key covers sort_key and same column order
fn sort_key_cover_and_same_order(super_sort_key: &SortKey, sort_key: &SortKey) -> bool {
        if super_sort_key == sort_key {
            return true;
        }
        if let Some(merge_key) = SortKey::try_merge_key(super_sort_key, sort_key) {
            if merge_key == super_sort_key {
                return true;
            }
        }
        false
    }
fn sort_key_cover_and_same_order ( super_sort_key : & SortKey , sort_key : & SortKey ) -> bool { if super_sort_key == sort_key { return true ; } if let Some ( merge_key ) = SortKey :: try_merge_key ( super_sort_key , sort_key ) { if merge_key == super_sort_key { return true ; } } false }
return true if the super_sort_key covers sort_key and same column order
return true if the super_sort_key covers sort_key and same column order
super_sort_key
&SortKey
sort_key
&SortKey