pub struct DisplayBTreeMap<'a, K, V> { /* private fields */ }
Expand description
Displays a BTreeMap<K, V>
.
This is the return value of calling a BTreeMap<K, V>::display()
.
Trait Implementations§
Source§impl<K, V> Display for DisplayBTreeMap<'_, K, V>
impl<K, V> Display for DisplayBTreeMap<'_, K, V>
Source§impl<K, V> DisplayConfig for DisplayBTreeMap<'_, K, V>
impl<K, V> DisplayConfig for DisplayBTreeMap<'_, K, V>
Source§fn context_mut(&mut self) -> &mut Context
fn context_mut(&mut self) -> &mut Context
Return a mutable reference to the context to let the caller modify it.
Source§fn limit_items(self, max_items: usize) -> Self
fn limit_items(self, max_items: usize) -> Self
Set the maximum number of items to display for collections. Read more
Source§fn use_local_time(self) -> Self
fn use_local_time(self) -> Self
Configures timestamps to display in local time.
Source§fn use_utc_time(self) -> Self
fn use_utc_time(self) -> Self
Configures timestamps to display in UTC.
Source§fn use_short_time(self) -> Self
fn use_short_time(self) -> Self
Sets a concise time format (
%H:%M:%S%.6f
).Source§fn use_full_time(self) -> Self
fn use_full_time(self) -> Self
Sets a detailed time format (
%Y-%m-%dT%H:%M:%S%.6fZ%z
).Source§fn with_time_format(self, time_format: &'static str) -> Self
fn with_time_format(self, time_format: &'static str) -> Self
Sets a custom time format string. Read more
Auto Trait Implementations§
impl<'a, K, V> Freeze for DisplayBTreeMap<'a, K, V>
impl<'a, K, V> RefUnwindSafe for DisplayBTreeMap<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for DisplayBTreeMap<'a, K, V>
impl<'a, K, V> Sync for DisplayBTreeMap<'a, K, V>
impl<'a, K, V> Unpin for DisplayBTreeMap<'a, K, V>
impl<'a, K, V> UnwindSafe for DisplayBTreeMap<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
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