pub struct SetEmulatedVisionDeficiencyParams {
pub deficiency_type: VisionDeficiency,
}Expand description
Parameters for Emulation.setEmulatedVisionDeficiency.
Fields§
§deficiency_type: VisionDeficiencyVision deficiency type to emulate.
Implementations§
Source§impl SetEmulatedVisionDeficiencyParams
impl SetEmulatedVisionDeficiencyParams
Sourcepub fn new(deficiency_type: VisionDeficiency) -> Self
pub fn new(deficiency_type: VisionDeficiency) -> Self
Create vision deficiency emulation params.
Trait Implementations§
Source§impl Clone for SetEmulatedVisionDeficiencyParams
impl Clone for SetEmulatedVisionDeficiencyParams
Source§fn clone(&self) -> SetEmulatedVisionDeficiencyParams
fn clone(&self) -> SetEmulatedVisionDeficiencyParams
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 moreAuto Trait Implementations§
impl Freeze for SetEmulatedVisionDeficiencyParams
impl RefUnwindSafe for SetEmulatedVisionDeficiencyParams
impl Send for SetEmulatedVisionDeficiencyParams
impl Sync for SetEmulatedVisionDeficiencyParams
impl Unpin for SetEmulatedVisionDeficiencyParams
impl UnwindSafe for SetEmulatedVisionDeficiencyParams
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