Gets the current [`LinearViewObject`] associated with this cursor.
(&self)
| 285 | |
| 286 | /// Gets the current [`LinearViewObject`] associated with this cursor. |
| 287 | pub fn current_object(&self) -> Ref<LinearViewObject> { |
| 288 | unsafe { |
| 289 | let handle = BNGetLinearViewCursorCurrentObject(self.handle); |
| 290 | LinearViewObject::ref_from_raw(handle) |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | pub fn duplicate(&self) -> Ref<Self> { |
| 295 | unsafe { |
no outgoing calls