Struct chromiumoxide::cdp::browser_protocol::overlay::SourceOrderConfig
source · pub struct SourceOrderConfig {
pub parent_outline_color: Rgba,
pub child_outline_color: Rgba,
}
Expand description
Configuration data for drawing the source order of an elements children. SourceOrderConfig
Fields§
§parent_outline_color: Rgba
the color to outline the givent element in.
child_outline_color: Rgba
the color to outline the child elements in.
Implementations§
source§impl SourceOrderConfig
impl SourceOrderConfig
pub fn builder() -> SourceOrderConfigBuilder
source§impl SourceOrderConfig
impl SourceOrderConfig
pub const IDENTIFIER: &'static str = "Overlay.SourceOrderConfig"
Trait Implementations§
source§impl Clone for SourceOrderConfig
impl Clone for SourceOrderConfig
source§fn clone(&self) -> SourceOrderConfig
fn clone(&self) -> SourceOrderConfig
Returns a copy 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 SourceOrderConfig
impl Debug for SourceOrderConfig
source§impl<'de> Deserialize<'de> for SourceOrderConfig
impl<'de> Deserialize<'de> for SourceOrderConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SourceOrderConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SourceOrderConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SourceOrderConfig
impl PartialEq for SourceOrderConfig
source§fn eq(&self, other: &SourceOrderConfig) -> bool
fn eq(&self, other: &SourceOrderConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourceOrderConfig
impl Serialize for SourceOrderConfig
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SourceOrderConfig
Auto Trait Implementations§
impl Freeze for SourceOrderConfig
impl RefUnwindSafe for SourceOrderConfig
impl Send for SourceOrderConfig
impl Sync for SourceOrderConfig
impl Unpin for SourceOrderConfig
impl UnwindSafe for SourceOrderConfig
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