#[repr(C)]pub struct UiDragApi {
pub start_dragging: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT)>,
pub start_dragging_multiple_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, objects: *const TtIdT, object_count: u64)>,
pub single_dragged_object: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> TtIdT>,
pub first_dragged_object: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> TtIdT>,
pub all_dragged_objects: Option<unsafe extern "C" fn(tt: *const TheTruthO, ta: *mut TempAllocatorI) -> *mut TtIdT>,
pub dragged_truth: Option<unsafe extern "C" fn() -> *const TheTruthO>,
pub stop_dragging: Option<unsafe extern "C" fn()>,
}
Fields§
§start_dragging: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT)>
§start_dragging_multiple_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, objects: *const TtIdT, object_count: u64)>
§single_dragged_object: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> TtIdT>
§first_dragged_object: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> TtIdT>
§all_dragged_objects: Option<unsafe extern "C" fn(tt: *const TheTruthO, ta: *mut TempAllocatorI) -> *mut TtIdT>
§dragged_truth: Option<unsafe extern "C" fn() -> *const TheTruthO>
§stop_dragging: Option<unsafe extern "C" fn()>
Implementations§
Source§impl UiDragApi
impl UiDragApi
pub unsafe fn start_dragging(&self, tt: *mut TheTruthO, object: TtIdT)
pub unsafe fn start_dragging_multiple_objects( &self, tt: *mut TheTruthO, objects: *const TtIdT, object_count: u64, )
pub unsafe fn single_dragged_object(&self, tt: *const TheTruthO) -> TtIdT
pub unsafe fn first_dragged_object(&self, tt: *const TheTruthO) -> TtIdT
pub unsafe fn all_dragged_objects( &self, tt: *const TheTruthO, ta: *mut TempAllocatorI, ) -> *mut TtIdT
pub unsafe fn dragged_truth(&self) -> *const TheTruthO
pub unsafe fn stop_dragging(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UiDragApi
impl RefUnwindSafe for UiDragApi
impl Send for UiDragApi
impl Sync for UiDragApi
impl Unpin for UiDragApi
impl UnwindSafe for UiDragApi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more