pub struct LabelValue<'a> {
pub label: &'a str,
pub value: String,
}Expand description
Label and formatted value, for Frame::label_value_grid.
Fields§
§label: &'a str§value: StringImplementations§
Trait Implementations§
Source§impl<'a> Clone for LabelValue<'a>
impl<'a> Clone for LabelValue<'a>
Source§fn clone(&self) -> LabelValue<'a>
fn clone(&self) -> LabelValue<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for LabelValue<'a>
impl<'a> RefUnwindSafe for LabelValue<'a>
impl<'a> Send for LabelValue<'a>
impl<'a> Sync for LabelValue<'a>
impl<'a> Unpin for LabelValue<'a>
impl<'a> UnsafeUnpin for LabelValue<'a>
impl<'a> UnwindSafe for LabelValue<'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