pub struct SetEmulatedVisionDeficiency {
pub method: SetEmulatedVisionDeficiencyMethod,
pub params: SetEmulatedVisionDeficiencyParams,
}Expand description
Emulates the given vision deficiency. setEmulatedVisionDeficiency
Fields§
§method: SetEmulatedVisionDeficiencyMethod§params: SetEmulatedVisionDeficiencyParamsImplementations§
Source§impl SetEmulatedVisionDeficiency
impl SetEmulatedVisionDeficiency
pub const IDENTIFIER: &'static str = "Emulation.setEmulatedVisionDeficiency"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetEmulatedVisionDeficiency
impl Clone for SetEmulatedVisionDeficiency
Source§fn clone(&self) -> SetEmulatedVisionDeficiency
fn clone(&self) -> SetEmulatedVisionDeficiency
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 SetEmulatedVisionDeficiency
impl CommandResult for SetEmulatedVisionDeficiency
type Result = SetEmulatedVisionDeficiencyResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetEmulatedVisionDeficiency
impl Debug for SetEmulatedVisionDeficiency
Source§impl<'de> Deserialize<'de> for SetEmulatedVisionDeficiency
impl<'de> Deserialize<'de> for SetEmulatedVisionDeficiency
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<SetEmulatedVisionDeficiency> for BrowserProtocolCommands
impl From<SetEmulatedVisionDeficiency> for BrowserProtocolCommands
Source§fn from(v: SetEmulatedVisionDeficiency) -> Self
fn from(v: SetEmulatedVisionDeficiency) -> Self
Converts to this type from the input type.
Source§impl From<SetEmulatedVisionDeficiency> for Command
impl From<SetEmulatedVisionDeficiency> for Command
Source§fn from(v: SetEmulatedVisionDeficiency) -> Self
fn from(v: SetEmulatedVisionDeficiency) -> Self
Converts to this type from the input type.
Source§impl From<SetEmulatedVisionDeficiency> for EmulationCommands
impl From<SetEmulatedVisionDeficiency> for EmulationCommands
Source§fn from(v: SetEmulatedVisionDeficiency) -> Self
fn from(v: SetEmulatedVisionDeficiency) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for SetEmulatedVisionDeficiency
impl TryFrom<BrowserProtocolCommands> for SetEmulatedVisionDeficiency
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, <SetEmulatedVisionDeficiency as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetEmulatedVisionDeficiency as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetEmulatedVisionDeficiency
impl TryFrom<Command> for SetEmulatedVisionDeficiency
Source§impl TryFrom<EmulationCommands> for SetEmulatedVisionDeficiency
impl TryFrom<EmulationCommands> for SetEmulatedVisionDeficiency
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, <SetEmulatedVisionDeficiency as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetEmulatedVisionDeficiency as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetEmulatedVisionDeficiency
Auto Trait Implementations§
impl Freeze for SetEmulatedVisionDeficiency
impl RefUnwindSafe for SetEmulatedVisionDeficiency
impl Send for SetEmulatedVisionDeficiency
impl Sync for SetEmulatedVisionDeficiency
impl Unpin for SetEmulatedVisionDeficiency
impl UnsafeUnpin for SetEmulatedVisionDeficiency
impl UnwindSafe for SetEmulatedVisionDeficiency
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