pub struct Label {
pub pos: [f64; 3],
pub owner_key: &'static str,
pub value: f64,
pub unit_key: &'static str,
pub decimals: usize,
}Expand description
A live value shown in the 3D view next to the part it belongs to, e.g. a motor’s speed. Both keys are translation keys; the front end formats “owner value unit”.
Fields§
§pos: [f64; 3]§owner_key: &'static str§value: f64§unit_key: &'static str§decimals: usizeTrait Implementations§
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Label
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