Struct easy_imgui::DragDropPayloadGetter
source · pub struct DragDropPayloadGetter<'a> { /* private fields */ }Expand description
Helpar class to get the drag&drop payload.
Implementations§
source§impl<'a> DragDropPayloadGetter<'a>
impl<'a> DragDropPayloadGetter<'a>
pub fn any(&self, flags: DragDropAcceptFlags) -> Option<DragDropPayload<'a>>
pub fn by_type( &self, type_: impl IntoCStr, flags: DragDropAcceptFlags ) -> Option<DragDropPayload<'a>>
pub fn peek(&self) -> Option<DragDropPayload<'a>>
Auto Trait Implementations§
impl<'a> Freeze for DragDropPayloadGetter<'a>
impl<'a> RefUnwindSafe for DragDropPayloadGetter<'a>
impl<'a> Send for DragDropPayloadGetter<'a>
impl<'a> Sync for DragDropPayloadGetter<'a>
impl<'a> Unpin for DragDropPayloadGetter<'a>
impl<'a> UnwindSafe for DragDropPayloadGetter<'a>
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