Move component to this component. This will remove it from the old parent.
(&self, component: &Component)
| 109 | |
| 110 | /// Move component to this component. This will remove it from the old parent. |
| 111 | pub fn add_component(&self, component: &Component) -> bool { |
| 112 | unsafe { BNComponentAddComponent(self.handle.as_ptr(), component.handle.as_ptr()) } |
| 113 | } |
| 114 | |
| 115 | /// Check whether this component contains a component. |
| 116 | pub fn contains_component(&self, component: &Component) -> bool { |