pub struct FeatureInfo {
pub icon: String,
pub kind_label: String,
pub family_label: String,
pub builds_solid: bool,
pub status: Option<FeatureStatus>,
}Expand description
How a feature shows in the tree, the property panel and the hover card.
Fields§
§icon: String§kind_label: String§family_label: String§builds_solid: boolIt adds to its body’s solid.
status: Option<FeatureStatus>How its work stands, shown as a badge beside its name in the tree.
It is asked for again when the feature changes or the bench calls
host::redraw.
Trait Implementations§
Source§impl Clone for FeatureInfo
impl Clone for FeatureInfo
Source§impl Debug for FeatureInfo
impl Debug for FeatureInfo
Source§impl Default for FeatureInfo
impl Default for FeatureInfo
Source§impl<'de> Deserialize<'de> for FeatureInfo
impl<'de> Deserialize<'de> for FeatureInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FeatureInfo
impl PartialEq for FeatureInfo
Source§impl Serialize for FeatureInfo
impl Serialize for FeatureInfo
impl StructuralPartialEq for FeatureInfo
Auto Trait Implementations§
impl Forget for FeatureInfo
impl Freeze for FeatureInfo
impl Move for FeatureInfo
impl RefUnwindSafe for FeatureInfo
impl Send for FeatureInfo
impl Sync for FeatureInfo
impl Unpin for FeatureInfo
impl UnsafeUnpin for FeatureInfo
impl UnwindSafe for FeatureInfo
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