pub struct SetDefaultBackgroundColorOverrideParams {
pub color: Option<Rgba>,
}Expand description
Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one.
Parameters of Emulation.setDefaultBackgroundColorOverride.
Fields§
§color: Option<Rgba>RGBA of the default background color. If not specified, any existing override will be cleared.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetDefaultBackgroundColorOverrideParams
impl<'de> Deserialize<'de> for SetDefaultBackgroundColorOverrideParams
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
impl StructuralPartialEq for SetDefaultBackgroundColorOverrideParams
Auto Trait Implementations§
impl Forget for SetDefaultBackgroundColorOverrideParams
impl Freeze for SetDefaultBackgroundColorOverrideParams
impl RefUnwindSafe for SetDefaultBackgroundColorOverrideParams
impl Send for SetDefaultBackgroundColorOverrideParams
impl Sync for SetDefaultBackgroundColorOverrideParams
impl Unpin for SetDefaultBackgroundColorOverrideParams
impl UnsafeUnpin for SetDefaultBackgroundColorOverrideParams
impl UnwindSafe for SetDefaultBackgroundColorOverrideParams
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