Remove a component from the current component, moving it to the root. This function has no effect when used from the root component. Use `BinaryView.remove_component` to Remove a component from the tree entirely.
(&self, component: &Component)
| 122 | /// This function has no effect when used from the root component. |
| 123 | /// Use `BinaryView.remove_component` to Remove a component from the tree entirely. |
| 124 | pub fn remove_component(&self, component: &Component) -> bool { |
| 125 | self.view() |
| 126 | .unwrap() |
| 127 | .root_component() |
| 128 | .unwrap() |
| 129 | .add_component(component) |
| 130 | } |
| 131 | |
| 132 | /// Add data variable to this component. |
| 133 | pub fn add_data_variable(&self, data_variable: &DataVariable) -> bool { |
nothing calls this directly
no test coverage detected