pub struct DragDropPayload {
pub data: *const c_void,
pub size: usize,
pub preview: bool,
pub delivery: bool,
}Expand description
Raw payload data
Fields§
§data: *const c_voidPointer to payload data (managed by ImGui)
size: usizeSize of payload data in bytes
preview: boolTrue when hovering over target
delivery: boolTrue when payload should be delivered
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DragDropPayload
impl RefUnwindSafe for DragDropPayload
impl !Send for DragDropPayload
impl !Sync for DragDropPayload
impl Unpin for DragDropPayload
impl UnwindSafe for DragDropPayload
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