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.
setInterceptDrags
Fields§
§enabled: boolImplementations§
Source§impl SetInterceptDragsParams
impl SetInterceptDragsParams
pub const IDENTIFIER: &'static str = "Input.setInterceptDrags"
Trait 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 Command for SetInterceptDragsParams
impl Command for SetInterceptDragsParams
Source§impl Debug for SetInterceptDragsParams
impl Debug 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 Method for SetInterceptDragsParams
impl Method for SetInterceptDragsParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for SetInterceptDragsParams
impl MethodType for SetInterceptDragsParams
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 Freeze for SetInterceptDragsParams
impl RefUnwindSafe for SetInterceptDragsParams
impl Send for SetInterceptDragsParams
impl Sync for SetInterceptDragsParams
impl Unpin 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