(&self, key: S, property: S)
| 480 | } |
| 481 | |
| 482 | pub fn get_property_string<S: BnStrCompatible>(&self, key: S, property: S) -> BnString { |
| 483 | let key = key.into_bytes_with_nul(); |
| 484 | let property = property.into_bytes_with_nul(); |
| 485 | unsafe { |
| 486 | BnString::from_raw(BNSettingsQueryPropertyString( |
| 487 | self.handle, |
| 488 | key.as_ref().as_ptr() as *mut _, |
| 489 | property.as_ref().as_ptr() as *mut _, |
| 490 | )) |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | pub fn get_property_string_list<S: BnStrCompatible>( |
| 495 | &self, |
no test coverage detected