Struct cranelift_codegen::data_value::DisplayDataValues
source · [−]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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more