pub struct AddScreen {
pub left: JsUInt,
pub top: JsUInt,
pub width: JsUInt,
pub height: JsUInt,
pub work_area_insets: Option<WorkAreaInsets>,
pub device_pixel_ratio: Option<JsFloat>,
pub rotation: Option<JsUInt>,
pub color_depth: Option<JsUInt>,
pub label: Option<String>,
pub is_internal: Option<bool>,
}Fields§
§left: JsUInt§top: JsUInt§width: JsUInt§height: JsUInt§work_area_insets: Option<WorkAreaInsets>§device_pixel_ratio: Option<JsFloat>§rotation: Option<JsUInt>§color_depth: Option<JsUInt>§label: Option<String>§is_internal: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddScreen
impl<'de> Deserialize<'de> for AddScreen
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 Method for AddScreen
impl Method for AddScreen
const NAME: &'static str = "Emulation.addScreen"
type ReturnObject = AddScreenReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for AddScreen
Auto Trait Implementations§
impl Freeze for AddScreen
impl RefUnwindSafe for AddScreen
impl Send for AddScreen
impl Sync for AddScreen
impl Unpin for AddScreen
impl UnwindSafe for AddScreen
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