pub struct InspectorField<'a> {
pub id: u64,
pub label: &'a str,
pub display: &'a str,
pub unit: &'a str,
pub state: FieldState<'a>,
pub control: InspectorControl<'a>,
}Expand description
A fixed snapshot with caller-formatted value/units. Display must be nonblank; it is never parsed. Units may be empty. Multi-line field/status copy wraps.
Fields§
§id: u64§label: &'a str§display: &'a str§unit: &'a str§state: FieldState<'a>§control: InspectorControl<'a>Trait Implementations§
Source§impl<'a> Clone for InspectorField<'a>
impl<'a> Clone for InspectorField<'a>
Source§fn clone(&self) -> InspectorField<'a>
fn clone(&self) -> InspectorField<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for InspectorField<'a>
impl<'a> Debug for InspectorField<'a>
impl<'a> Copy for InspectorField<'a>
Auto Trait Implementations§
impl<'a> Freeze for InspectorField<'a>
impl<'a> RefUnwindSafe for InspectorField<'a>
impl<'a> Send for InspectorField<'a>
impl<'a> Sync for InspectorField<'a>
impl<'a> Unpin for InspectorField<'a>
impl<'a> UnwindSafe for InspectorField<'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