Struct chromiumoxide::cdp::browser_protocol::overlay::LineStyle
source · pub struct LineStyle {
pub color: Option<Rgba>,
pub pattern: Option<LineStylePattern>,
}
Expand description
Style information for drawing a line. LineStyle
Fields§
§color: Option<Rgba>
The color of the line (default: transparent)
pattern: Option<LineStylePattern>
The line pattern (default: solid)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LineStyle
impl<'de> Deserialize<'de> for LineStyle
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<LineStyle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<LineStyle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LineStyle
impl PartialEq for LineStyle
source§impl Serialize for LineStyle
impl Serialize for LineStyle
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 LineStyle
Auto Trait Implementations§
impl Freeze for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnwindSafe for LineStyle
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