pub struct HighlightFrameParams {
pub frameId: FrameId,
pub contentColor: Option<RGBA>,
pub contentOutlineColor: Option<RGBA>,
}Expand description
Highlights owner element of the frame with given id. Deprecated: Doesn’t work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.
Fields§
§frameId: FrameIdIdentifier of the frame to highlight.
contentColor: Option<RGBA>The content box highlight fill color (default: transparent).
contentOutlineColor: Option<RGBA>The content box highlight outline color (default: transparent).
Trait Implementations§
Source§impl Clone for HighlightFrameParams
impl Clone for HighlightFrameParams
Source§fn clone(&self) -> HighlightFrameParams
fn clone(&self) -> HighlightFrameParams
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 Debug for HighlightFrameParams
impl Debug for HighlightFrameParams
Source§impl Default for HighlightFrameParams
impl Default for HighlightFrameParams
Source§fn default() -> HighlightFrameParams
fn default() -> HighlightFrameParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HighlightFrameParams
impl<'de> Deserialize<'de> for HighlightFrameParams
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 HighlightFrameParams
impl RefUnwindSafe for HighlightFrameParams
impl Send for HighlightFrameParams
impl Sync for HighlightFrameParams
impl Unpin for HighlightFrameParams
impl UnsafeUnpin for HighlightFrameParams
impl UnwindSafe for HighlightFrameParams
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