pub struct HighlightQuad {
pub method: HighlightQuadMethod,
pub params: HighlightQuadParams,
}Expand description
Highlights given quad. Coordinates are absolute with respect to the main frame viewport. highlightQuad
Fields§
§method: HighlightQuadMethod§params: HighlightQuadParamsImplementations§
Source§impl HighlightQuad
impl HighlightQuad
pub fn builder() -> HighlightQuadBuilder
Source§impl HighlightQuad
impl HighlightQuad
pub const IDENTIFIER: &'static str = "Overlay.highlightQuad"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for HighlightQuad
impl Clone for HighlightQuad
Source§fn clone(&self) -> HighlightQuad
fn clone(&self) -> HighlightQuad
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 HighlightQuad
impl CommandResult for HighlightQuad
type Result = HighlightQuadResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for HighlightQuad
impl Debug for HighlightQuad
Source§impl<'de> Deserialize<'de> for HighlightQuad
impl<'de> Deserialize<'de> for HighlightQuad
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<HighlightQuad> for BrowserProtocolCommands
impl From<HighlightQuad> for BrowserProtocolCommands
Source§fn from(v: HighlightQuad) -> Self
fn from(v: HighlightQuad) -> Self
Converts to this type from the input type.
Source§impl From<HighlightQuad> for Command
impl From<HighlightQuad> for Command
Source§fn from(v: HighlightQuad) -> Self
fn from(v: HighlightQuad) -> Self
Converts to this type from the input type.
Source§impl From<HighlightQuad> for OverlayCommands
impl From<HighlightQuad> for OverlayCommands
Source§fn from(v: HighlightQuad) -> Self
fn from(v: HighlightQuad) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HighlightQuad
impl PartialEq for HighlightQuad
Source§impl Serialize for HighlightQuad
impl Serialize for HighlightQuad
Source§impl TryFrom<BrowserProtocolCommands> for HighlightQuad
impl TryFrom<BrowserProtocolCommands> for HighlightQuad
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, <HighlightQuad as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <HighlightQuad as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for HighlightQuad
impl TryFrom<Command> for HighlightQuad
Source§impl TryFrom<OverlayCommands> for HighlightQuad
impl TryFrom<OverlayCommands> for HighlightQuad
Source§type Error = OverlayCommands
type Error = OverlayCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayCommands,
) -> Result<Self, <HighlightQuad as TryFrom<OverlayCommands>>::Error>
fn try_from( e: OverlayCommands, ) -> Result<Self, <HighlightQuad as TryFrom<OverlayCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for HighlightQuad
Auto Trait Implementations§
impl Freeze for HighlightQuad
impl RefUnwindSafe for HighlightQuad
impl Send for HighlightQuad
impl Sync for HighlightQuad
impl Unpin for HighlightQuad
impl UnsafeUnpin for HighlightQuad
impl UnwindSafe for HighlightQuad
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