pub struct SetEmulatedOsTextScaleParams {
pub scale: Option<f64>,
}Expand description
Emulates the given OS text scale. setEmulatedOSTextScale
Fields§
§scale: Option<f64>Implementations§
Source§impl SetEmulatedOsTextScaleParams
impl SetEmulatedOsTextScaleParams
pub fn builder() -> SetEmulatedOsTextScaleParamsBuilder
Source§impl SetEmulatedOsTextScaleParams
impl SetEmulatedOsTextScaleParams
pub const IDENTIFIER: &'static str = "Emulation.setEmulatedOSTextScale"
Trait Implementations§
Source§impl Clone for SetEmulatedOsTextScaleParams
impl Clone for SetEmulatedOsTextScaleParams
Source§fn clone(&self) -> SetEmulatedOsTextScaleParams
fn clone(&self) -> SetEmulatedOsTextScaleParams
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 SetEmulatedOsTextScaleParams
impl Debug for SetEmulatedOsTextScaleParams
Source§impl Default for SetEmulatedOsTextScaleParams
impl Default for SetEmulatedOsTextScaleParams
Source§fn default() -> SetEmulatedOsTextScaleParams
fn default() -> SetEmulatedOsTextScaleParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetEmulatedOsTextScaleParams
impl<'de> Deserialize<'de> for SetEmulatedOsTextScaleParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetEmulatedOsTextScaleParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetEmulatedOsTextScaleParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SetEmulatedOsTextScaleParams
impl Method for SetEmulatedOsTextScaleParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl PartialEq for SetEmulatedOsTextScaleParams
impl PartialEq for SetEmulatedOsTextScaleParams
Source§fn eq(&self, other: &SetEmulatedOsTextScaleParams) -> bool
fn eq(&self, other: &SetEmulatedOsTextScaleParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SetEmulatedOsTextScaleParams
impl Serialize for SetEmulatedOsTextScaleParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SetEmulatedOsTextScaleParams
Auto Trait Implementations§
impl Freeze for SetEmulatedOsTextScaleParams
impl RefUnwindSafe for SetEmulatedOsTextScaleParams
impl Send for SetEmulatedOsTextScaleParams
impl Sync for SetEmulatedOsTextScaleParams
impl Unpin for SetEmulatedOsTextScaleParams
impl UnwindSafe for SetEmulatedOsTextScaleParams
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