pub struct DisplayDataValues<'a>(pub &'a [DataValue]);
Expand description
Helper structure for printing bracket-enclosed vectors of DataValues.
- for empty vectors, display
[]
- for single item vectors, display
42
, e.g. - for multiple item vectors, display
[42, 43, 44]
, e.g.
Tuple Fields§
§0: &'a [DataValue]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DisplayDataValues<'a>
impl<'a> RefUnwindSafe for DisplayDataValues<'a>
impl<'a> Send for DisplayDataValues<'a>
impl<'a> Sync for DisplayDataValues<'a>
impl<'a> Unpin for DisplayDataValues<'a>
impl<'a> UnwindSafe for DisplayDataValues<'a>
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