pub struct InspectorInfo {
pub kind: &'static str,
pub label: &'static str,
pub doc: &'static str,
pub icon: Option<&'static str>,
pub picks: Option<Picks>,
}Expand description
What an inspector is to a front end: how it is asked, what it is offered as, and whether it is asked of the whole part or of picks.
Fields§
§kind: &'static strThe name it is asked by, and its answers are of: mass_properties.
label: &'static strWhat it is offered as: Mass.
doc: &'static strWhat it answers, in a sentence.
icon: Option<&'static str>What it is shown as (see
crate::editable::OperationInfo::icon).
picks: Option<Picks>What it is asked of, if not the whole part: a tool that picks these in the viewport, and answers again with every pick.
Trait Implementations§
Source§impl Clone for InspectorInfo
impl Clone for InspectorInfo
Source§fn clone(&self) -> InspectorInfo
fn clone(&self) -> InspectorInfo
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 moreSource§impl Debug for InspectorInfo
impl Debug for InspectorInfo
Source§impl PartialEq for InspectorInfo
impl PartialEq for InspectorInfo
Source§impl Serialize for InspectorInfo
impl Serialize for InspectorInfo
impl StructuralPartialEq for InspectorInfo
Auto Trait Implementations§
impl Freeze for InspectorInfo
impl RefUnwindSafe for InspectorInfo
impl Send for InspectorInfo
impl Sync for InspectorInfo
impl Unpin for InspectorInfo
impl UnsafeUnpin for InspectorInfo
impl UnwindSafe for InspectorInfo
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