pub struct HighlightFrameCommand { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Highlights owner element of the frame with given id.
Implementations§
Source§impl HighlightFrameCommand
impl HighlightFrameCommand
pub fn new( frame_id: FrameId, content_color: Option<Rgba>, content_outline_color: Option<Rgba>, ) -> Self
Sourcepub fn content_color(&self) -> Option<&Rgba>
pub fn content_color(&self) -> Option<&Rgba>
The content box highlight fill color (default: transparent).
Sourcepub fn content_outline_color(&self) -> Option<&Rgba>
pub fn content_outline_color(&self) -> Option<&Rgba>
The content box highlight outline color (default: transparent).
Trait Implementations§
Source§impl Clone for HighlightFrameCommand
impl Clone for HighlightFrameCommand
Source§fn clone(&self) -> HighlightFrameCommand
fn clone(&self) -> HighlightFrameCommand
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 HighlightFrameCommand
impl Command for HighlightFrameCommand
Source§impl Debug for HighlightFrameCommand
impl Debug for HighlightFrameCommand
Source§impl<'de> Deserialize<'de> for HighlightFrameCommand
impl<'de> Deserialize<'de> for HighlightFrameCommand
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 HighlightFrameCommand
impl RefUnwindSafe for HighlightFrameCommand
impl Send for HighlightFrameCommand
impl Sync for HighlightFrameCommand
impl Unpin for HighlightFrameCommand
impl UnwindSafe for HighlightFrameCommand
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