pub struct SetInterceptDrags {
pub method: SetInterceptDragsMethod,
pub params: SetInterceptDragsParams,
}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§
§method: SetInterceptDragsMethod§params: SetInterceptDragsParamsImplementations§
Source§impl SetInterceptDrags
impl SetInterceptDrags
pub fn builder() -> SetInterceptDragsBuilder
Source§impl SetInterceptDrags
impl SetInterceptDrags
pub const IDENTIFIER: &'static str = "Input.setInterceptDrags"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetInterceptDrags
impl Clone for SetInterceptDrags
Source§fn clone(&self) -> SetInterceptDrags
fn clone(&self) -> SetInterceptDrags
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 CommandResult for SetInterceptDrags
impl CommandResult for SetInterceptDrags
type Result = SetInterceptDragsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetInterceptDrags
impl Debug for SetInterceptDrags
Source§impl<'de> Deserialize<'de> for SetInterceptDrags
impl<'de> Deserialize<'de> for SetInterceptDrags
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 From<SetInterceptDrags> for BrowserProtocolCommands
impl From<SetInterceptDrags> for BrowserProtocolCommands
Source§fn from(v: SetInterceptDrags) -> Self
fn from(v: SetInterceptDrags) -> Self
Converts to this type from the input type.
Source§impl From<SetInterceptDrags> for Command
impl From<SetInterceptDrags> for Command
Source§fn from(v: SetInterceptDrags) -> Self
fn from(v: SetInterceptDrags) -> Self
Converts to this type from the input type.
Source§impl From<SetInterceptDrags> for InputCommands
impl From<SetInterceptDrags> for InputCommands
Source§fn from(v: SetInterceptDrags) -> Self
fn from(v: SetInterceptDrags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetInterceptDrags
impl PartialEq for SetInterceptDrags
Source§impl Serialize for SetInterceptDrags
impl Serialize for SetInterceptDrags
Source§impl TryFrom<BrowserProtocolCommands> for SetInterceptDrags
impl TryFrom<BrowserProtocolCommands> for SetInterceptDrags
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetInterceptDrags as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetInterceptDrags as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetInterceptDrags
impl TryFrom<Command> for SetInterceptDrags
Source§impl TryFrom<InputCommands> for SetInterceptDrags
impl TryFrom<InputCommands> for SetInterceptDrags
Source§type Error = InputCommands
type Error = InputCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputCommands,
) -> Result<Self, <SetInterceptDrags as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <SetInterceptDrags as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetInterceptDrags
Auto Trait Implementations§
impl Freeze for SetInterceptDrags
impl RefUnwindSafe for SetInterceptDrags
impl Send for SetInterceptDrags
impl Sync for SetInterceptDrags
impl Unpin for SetInterceptDrags
impl UnsafeUnpin for SetInterceptDrags
impl UnwindSafe for SetInterceptDrags
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