Original name of the component
(&self)
| 146 | |
| 147 | /// Original name of the component |
| 148 | pub fn display_name(&self) -> BnString { |
| 149 | let result = unsafe { BNComponentGetDisplayName(self.handle.as_ptr()) }; |
| 150 | assert!(!result.is_null()); |
| 151 | unsafe { BnString::from_raw(result) } |
| 152 | } |
| 153 | |
| 154 | /// Original name set for this component |
| 155 | /// :note: The `.display_name` property should be used for `bv.get_component_by_path()` lookups. |