#[repr(i32)]pub enum DragDropPayloadCond {
Always = 1,
Once = 2,
}Expand description
Condition for updating a drag and drop payload.
Dear ImGui only accepts Always and Once for SetDragDropPayload.
Variants§
Always = 1
Update the payload every frame while dragging.
Once = 2
Update the payload once when the drag starts.
Trait Implementations§
Source§impl Clone for DragDropPayloadCond
impl Clone for DragDropPayloadCond
Source§fn clone(&self) -> DragDropPayloadCond
fn clone(&self) -> DragDropPayloadCond
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DragDropPayloadCond
impl Debug for DragDropPayloadCond
Source§impl PartialEq for DragDropPayloadCond
impl PartialEq for DragDropPayloadCond
Source§fn eq(&self, other: &DragDropPayloadCond) -> bool
fn eq(&self, other: &DragDropPayloadCond) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DragDropPayloadCond
impl Eq for DragDropPayloadCond
impl StructuralPartialEq for DragDropPayloadCond
Auto Trait Implementations§
impl Freeze for DragDropPayloadCond
impl RefUnwindSafe for DragDropPayloadCond
impl Send for DragDropPayloadCond
impl Sync for DragDropPayloadCond
impl Unpin for DragDropPayloadCond
impl UnsafeUnpin for DragDropPayloadCond
impl UnwindSafe for DragDropPayloadCond
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