Inherited from DiagnosticableTree
| 239 | |
| 240 | // Inherited from DiagnosticableTree |
| 241 | pub trait Widget { |
| 242 | // @factory, @protected |
| 243 | /// Inflates this configuration to a concrete instance |
| 244 | fn create_element(&self) -> Box<dyn Element>; |
| 245 | |
| 246 | // // override DiagnosticableTree |
| 247 | // /// Add additional properties associated with the node. |
| 248 | // fn debug_fill_properties(properties: DiagnosticPropertiesBuilder); |
| 249 | |
| 250 | // // override DiagnosticableTree |
| 251 | // /// A short, textual description of this widget. |
| 252 | // fn to_string_short(); |
| 253 | |
| 254 | // Check for null object, aka None |
| 255 | fn is_none(&self) -> bool { |
| 256 | false |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | |
| 261 | /// NoneWidget used only as default widget to simplify declarative sintax |
nothing calls this directly
no outgoing calls
no test coverage detected