pub struct UpdateScreenParams<'a> { /* private fields */ }Expand description
Updates specified screen parameters. Only supported in headless mode.
Implementations§
Source§impl<'a> UpdateScreenParams<'a>
impl<'a> UpdateScreenParams<'a>
pub fn builder(screenId: ScreenId<'a>) -> UpdateScreenParamsBuilder<'a>
pub fn screenId(&self) -> &ScreenId<'a>
pub fn left(&self) -> Option<i64>
pub fn top(&self) -> Option<i64>
pub fn width(&self) -> Option<u64>
pub fn height(&self) -> Option<i64>
pub fn workAreaInsets(&self) -> Option<&WorkAreaInsets>
pub fn devicePixelRatio(&self) -> Option<f64>
pub fn rotation(&self) -> Option<i64>
pub fn colorDepth(&self) -> Option<i64>
pub fn label(&self) -> Option<&str>
pub fn isInternal(&self) -> Option<bool>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for UpdateScreenParams<'a>
impl<'a> CdpCommand<'a> for UpdateScreenParams<'a>
Source§impl<'a> Clone for UpdateScreenParams<'a>
impl<'a> Clone for UpdateScreenParams<'a>
Source§fn clone(&self) -> UpdateScreenParams<'a>
fn clone(&self) -> UpdateScreenParams<'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 UpdateScreenParams<'a>
impl<'a> Debug for UpdateScreenParams<'a>
Source§impl<'a> Default for UpdateScreenParams<'a>
impl<'a> Default for UpdateScreenParams<'a>
Source§fn default() -> UpdateScreenParams<'a>
fn default() -> UpdateScreenParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for UpdateScreenParams<'a>
impl<'de, 'a> Deserialize<'de> for UpdateScreenParams<'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 UpdateScreenParams<'a>
impl<'a> RefUnwindSafe for UpdateScreenParams<'a>
impl<'a> Send for UpdateScreenParams<'a>
impl<'a> Sync for UpdateScreenParams<'a>
impl<'a> Unpin for UpdateScreenParams<'a>
impl<'a> UnsafeUnpin for UpdateScreenParams<'a>
impl<'a> UnwindSafe for UpdateScreenParams<'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