pub struct HighlightRectCommand { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Implementations§
Source§impl HighlightRectCommand
impl HighlightRectCommand
pub fn builder() -> HighlightRectCommandBuilder
Sourcepub fn outline_color(&self) -> Option<&Rgba>
pub fn outline_color(&self) -> Option<&Rgba>
The highlight outline color (default: transparent).
Trait Implementations§
Source§impl Clone for HighlightRectCommand
impl Clone for HighlightRectCommand
Source§fn clone(&self) -> HighlightRectCommand
fn clone(&self) -> HighlightRectCommand
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 HighlightRectCommand
impl Command for HighlightRectCommand
Source§impl Debug for HighlightRectCommand
impl Debug for HighlightRectCommand
Source§impl<'de> Deserialize<'de> for HighlightRectCommand
impl<'de> Deserialize<'de> for HighlightRectCommand
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 HighlightRectCommand
impl RefUnwindSafe for HighlightRectCommand
impl Send for HighlightRectCommand
impl Sync for HighlightRectCommand
impl Unpin for HighlightRectCommand
impl UnwindSafe for HighlightRectCommand
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