pub struct SetPrimaryScreenParams {
pub screen_id: 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.
Experimental: may change without notice.
Parameters of Emulation.setPrimaryScreen.
Fields§
§screen_id: ScreenIdTrait Implementations§
Source§impl Clone for SetPrimaryScreenParams
impl Clone for SetPrimaryScreenParams
Source§impl Command for SetPrimaryScreenParams
impl Command for SetPrimaryScreenParams
Source§impl Debug for SetPrimaryScreenParams
impl Debug for SetPrimaryScreenParams
Source§impl Default for SetPrimaryScreenParams
impl Default for SetPrimaryScreenParams
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
Source§impl PartialEq for SetPrimaryScreenParams
impl PartialEq for SetPrimaryScreenParams
Source§impl Serialize for SetPrimaryScreenParams
impl Serialize for SetPrimaryScreenParams
impl StructuralPartialEq for SetPrimaryScreenParams
Auto Trait Implementations§
impl Forget for SetPrimaryScreenParams
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