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’.
Fields§
§enabled: boolTrait Implementations§
Source§impl Clone for SetInterceptDragsParams
impl Clone for SetInterceptDragsParams
Source§fn clone(&self) -> SetInterceptDragsParams
fn clone(&self) -> SetInterceptDragsParams
Returns a duplicate of the value. Read more
1.0.0 · 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 SetInterceptDragsParams
impl Debug for SetInterceptDragsParams
Source§impl Default for SetInterceptDragsParams
impl Default for SetInterceptDragsParams
Source§fn default() -> SetInterceptDragsParams
fn default() -> SetInterceptDragsParams
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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