pub struct SetEmulatedOsTextScale {
pub method: SetEmulatedOsTextScaleMethod,
pub params: SetEmulatedOsTextScaleParams,
}Expand description
Emulates the given OS text scale. setEmulatedOSTextScale
Fields§
§method: SetEmulatedOsTextScaleMethod§params: SetEmulatedOsTextScaleParamsImplementations§
Source§impl SetEmulatedOsTextScale
impl SetEmulatedOsTextScale
pub fn builder() -> SetEmulatedOsTextScaleBuilder
Source§impl SetEmulatedOsTextScale
impl SetEmulatedOsTextScale
pub const IDENTIFIER: &'static str = "Emulation.setEmulatedOSTextScale"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetEmulatedOsTextScale
impl Clone for SetEmulatedOsTextScale
Source§fn clone(&self) -> SetEmulatedOsTextScale
fn clone(&self) -> SetEmulatedOsTextScale
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 CommandResult for SetEmulatedOsTextScale
impl CommandResult for SetEmulatedOsTextScale
type Result = SetEmulatedOsTextScaleResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetEmulatedOsTextScale
impl Debug for SetEmulatedOsTextScale
Source§impl<'de> Deserialize<'de> for SetEmulatedOsTextScale
impl<'de> Deserialize<'de> for SetEmulatedOsTextScale
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 From<SetEmulatedOsTextScale> for BrowserProtocolCommands
impl From<SetEmulatedOsTextScale> for BrowserProtocolCommands
Source§fn from(v: SetEmulatedOsTextScale) -> Self
fn from(v: SetEmulatedOsTextScale) -> Self
Converts to this type from the input type.
Source§impl From<SetEmulatedOsTextScale> for Command
impl From<SetEmulatedOsTextScale> for Command
Source§fn from(v: SetEmulatedOsTextScale) -> Self
fn from(v: SetEmulatedOsTextScale) -> Self
Converts to this type from the input type.
Source§impl From<SetEmulatedOsTextScale> for EmulationCommands
impl From<SetEmulatedOsTextScale> for EmulationCommands
Source§fn from(v: SetEmulatedOsTextScale) -> Self
fn from(v: SetEmulatedOsTextScale) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetEmulatedOsTextScale
impl PartialEq for SetEmulatedOsTextScale
Source§impl Serialize for SetEmulatedOsTextScale
impl Serialize for SetEmulatedOsTextScale
Source§impl TryFrom<BrowserProtocolCommands> for SetEmulatedOsTextScale
impl TryFrom<BrowserProtocolCommands> for SetEmulatedOsTextScale
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetEmulatedOsTextScale as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetEmulatedOsTextScale as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetEmulatedOsTextScale
impl TryFrom<Command> for SetEmulatedOsTextScale
Source§impl TryFrom<EmulationCommands> for SetEmulatedOsTextScale
impl TryFrom<EmulationCommands> for SetEmulatedOsTextScale
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <SetEmulatedOsTextScale as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetEmulatedOsTextScale as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetEmulatedOsTextScale
Auto Trait Implementations§
impl Freeze for SetEmulatedOsTextScale
impl RefUnwindSafe for SetEmulatedOsTextScale
impl Send for SetEmulatedOsTextScale
impl Sync for SetEmulatedOsTextScale
impl Unpin for SetEmulatedOsTextScale
impl UnsafeUnpin for SetEmulatedOsTextScale
impl UnwindSafe for SetEmulatedOsTextScale
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