pub struct SetPrimaryScreenParams {
pub screenId: ScreenId,
}Expand description
Set primary screen. Only supported in headless mode. Note that this changes the coordinate system origin to the top-left of the new primary screen, updating the bounds and work areas of all existing screens accordingly.
Fields§
§screenId: ScreenIdImplementations§
Trait Implementations§
Source§impl CdpCommand for SetPrimaryScreenParams
impl CdpCommand for SetPrimaryScreenParams
Source§impl Clone for SetPrimaryScreenParams
impl Clone for SetPrimaryScreenParams
Source§fn clone(&self) -> SetPrimaryScreenParams
fn clone(&self) -> SetPrimaryScreenParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetPrimaryScreenParams
impl Debug for SetPrimaryScreenParams
Source§impl Default for SetPrimaryScreenParams
impl Default for SetPrimaryScreenParams
Source§fn default() -> SetPrimaryScreenParams
fn default() -> SetPrimaryScreenParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetPrimaryScreenParams
impl<'de> Deserialize<'de> for SetPrimaryScreenParams
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 Freeze for SetPrimaryScreenParams
impl RefUnwindSafe for SetPrimaryScreenParams
impl Send for SetPrimaryScreenParams
impl Sync for SetPrimaryScreenParams
impl Unpin for SetPrimaryScreenParams
impl UnsafeUnpin for SetPrimaryScreenParams
impl UnwindSafe for SetPrimaryScreenParams
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