pub struct SetEmulatedVisionDeficiencyCommand { /* private fields */ }Available on crate features
Emulation and DOM and Page and Runtime and experimental only.Expand description
Emulates the given vision deficiency.
Implementations§
Source§impl SetEmulatedVisionDeficiencyCommand
impl SetEmulatedVisionDeficiencyCommand
pub fn new(type: SetEmulatedVisionDeficiencyCommandType) -> Self
Sourcepub fn type(&self) -> &SetEmulatedVisionDeficiencyCommandType
pub fn type(&self) -> &SetEmulatedVisionDeficiencyCommandType
Vision deficiency to emulate.
Trait Implementations§
Source§impl Clone for SetEmulatedVisionDeficiencyCommand
impl Clone for SetEmulatedVisionDeficiencyCommand
Source§fn clone(&self) -> SetEmulatedVisionDeficiencyCommand
fn clone(&self) -> SetEmulatedVisionDeficiencyCommand
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<'de> Deserialize<'de> for SetEmulatedVisionDeficiencyCommand
impl<'de> Deserialize<'de> for SetEmulatedVisionDeficiencyCommand
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
Auto Trait Implementations§
impl Freeze for SetEmulatedVisionDeficiencyCommand
impl RefUnwindSafe for SetEmulatedVisionDeficiencyCommand
impl Send for SetEmulatedVisionDeficiencyCommand
impl Sync for SetEmulatedVisionDeficiencyCommand
impl Unpin for SetEmulatedVisionDeficiencyCommand
impl UnwindSafe for SetEmulatedVisionDeficiencyCommand
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