pub struct SetDisplayFeaturesOverrideParams<'a> { /* private fields */ }Expand description
Start using the given display features to pupulate the Viewport Segments API. This override can also be set in setDeviceMetricsOverride().
Implementations§
Source§impl<'a> SetDisplayFeaturesOverrideParams<'a>
impl<'a> SetDisplayFeaturesOverrideParams<'a>
pub fn builder( features: Vec<DisplayFeature<'a>>, ) -> SetDisplayFeaturesOverrideParamsBuilder<'a>
pub fn features(&self) -> &[DisplayFeature<'a>]
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetDisplayFeaturesOverrideParams<'a>
impl<'a> CdpCommand<'a> for SetDisplayFeaturesOverrideParams<'a>
Source§impl<'a> Clone for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Clone for SetDisplayFeaturesOverrideParams<'a>
Source§fn clone(&self) -> SetDisplayFeaturesOverrideParams<'a>
fn clone(&self) -> SetDisplayFeaturesOverrideParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Debug for SetDisplayFeaturesOverrideParams<'a>
Source§impl<'a> Default for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Default for SetDisplayFeaturesOverrideParams<'a>
Source§fn default() -> SetDisplayFeaturesOverrideParams<'a>
fn default() -> SetDisplayFeaturesOverrideParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetDisplayFeaturesOverrideParams<'a>
impl<'de, 'a> Deserialize<'de> for SetDisplayFeaturesOverrideParams<'a>
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<'a> Freeze for SetDisplayFeaturesOverrideParams<'a>
impl<'a> RefUnwindSafe for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Send for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Sync for SetDisplayFeaturesOverrideParams<'a>
impl<'a> Unpin for SetDisplayFeaturesOverrideParams<'a>
impl<'a> UnsafeUnpin for SetDisplayFeaturesOverrideParams<'a>
impl<'a> UnwindSafe for SetDisplayFeaturesOverrideParams<'a>
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