pub struct SetInterceptDragsParams {
pub enabled: bool,
}Expand description
Prevents default drag and drop behavior and instead emits
Input.dragIntercepted events. Drag and drop behavior can be directly
controlled via Input.dispatchDragEvent.
Experimental: may change without notice.
Parameters of Input.setInterceptDrags.
Fields§
§enabled: boolTrait Implementations§
Source§impl Clone for SetInterceptDragsParams
impl Clone for SetInterceptDragsParams
Source§impl Command for SetInterceptDragsParams
impl Command for SetInterceptDragsParams
Source§impl Debug for SetInterceptDragsParams
impl Debug for SetInterceptDragsParams
Source§impl Default for SetInterceptDragsParams
impl Default for SetInterceptDragsParams
Source§impl<'de> Deserialize<'de> for SetInterceptDragsParams
impl<'de> Deserialize<'de> for SetInterceptDragsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SetInterceptDragsParams
impl PartialEq for SetInterceptDragsParams
Source§impl Serialize for SetInterceptDragsParams
impl Serialize for SetInterceptDragsParams
impl StructuralPartialEq for SetInterceptDragsParams
Auto Trait Implementations§
impl Forget for SetInterceptDragsParams
impl Freeze for SetInterceptDragsParams
impl RefUnwindSafe for SetInterceptDragsParams
impl Send for SetInterceptDragsParams
impl Sync for SetInterceptDragsParams
impl Unpin for SetInterceptDragsParams
impl UnsafeUnpin for SetInterceptDragsParams
impl UnwindSafe for SetInterceptDragsParams
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