Struct chromiumoxide_cdp::cdp::browser_protocol::overlay::HingeConfig [−][src]
pub struct HingeConfig { pub rect: Rect, pub content_color: Option<Rgba>, pub outline_color: Option<Rgba>, }
Expand description
Configuration for dual screen hinge HingeConfig
Fields
rect: Rect
A rectangle represent hinge
content_color: Option<Rgba>
The content box highlight fill color (default: a dark color).
outline_color: Option<Rgba>
The content box highlight outline color (default: transparent).
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HingeConfig
impl Send for HingeConfig
impl Sync for HingeConfig
impl Unpin for HingeConfig
impl UnwindSafe for HingeConfig
Blanket Implementations
Mutably borrows from an owned value. Read more