pub struct TextMap<S = Root> { /* private fields */ }Expand description
Implementations§
Source§impl<S> TextMap<S>
impl<S> TextMap<S>
Sourcepub fn sort_key(&self, key: impl Into<String>) -> MapKeySort<S>
pub fn sort_key(&self, key: impl Into<String>) -> MapKeySort<S>
Sort by this key, with optional fallback — sort_key("it").or("en")
orders by it, else en (language fallback). Returns a MapKeySort;
pass it to SortBuilder::by or .asc()/.desc().
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for TextMap<S>
impl<S> RefUnwindSafe for TextMap<S>
impl<S> Send for TextMap<S>
impl<S> Sync for TextMap<S>
impl<S> Unpin for TextMap<S>
impl<S> UnsafeUnpin for TextMap<S>
impl<S> UnwindSafe for TextMap<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more