Struct machinery_api::plugins::ui::UiDragApi [−][src]
#[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
pub unsafe fn start_dragging_multiple_objects(
&self,
tt: *mut TheTruthO,
objects: *const TtIdT,
object_count: u64
)
pub unsafe fn all_dragged_objects(
&self,
tt: *const TheTruthO,
ta: *mut TempAllocatorI
) -> *mut TtIdT
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UiDragApi
impl UnwindSafe for UiDragApi
Blanket Implementations
Mutably borrows from an owned value. Read more