pub enum SetEmulatedVisionDeficiencyTypeOption {
None,
BlurredVision,
ReducedContrast,
Achromatopsia,
Deuteranopia,
Protanopia,
Tritanopia,
}Variants§
Trait Implementations§
Source§impl Clone for SetEmulatedVisionDeficiencyTypeOption
impl Clone for SetEmulatedVisionDeficiencyTypeOption
Source§fn clone(&self) -> SetEmulatedVisionDeficiencyTypeOption
fn clone(&self) -> SetEmulatedVisionDeficiencyTypeOption
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 SetEmulatedVisionDeficiencyTypeOption
impl<'de> Deserialize<'de> for SetEmulatedVisionDeficiencyTypeOption
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 PartialEq for SetEmulatedVisionDeficiencyTypeOption
impl PartialEq for SetEmulatedVisionDeficiencyTypeOption
Source§fn eq(&self, other: &SetEmulatedVisionDeficiencyTypeOption) -> bool
fn eq(&self, other: &SetEmulatedVisionDeficiencyTypeOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetEmulatedVisionDeficiencyTypeOption
Auto Trait Implementations§
impl Freeze for SetEmulatedVisionDeficiencyTypeOption
impl RefUnwindSafe for SetEmulatedVisionDeficiencyTypeOption
impl Send for SetEmulatedVisionDeficiencyTypeOption
impl Sync for SetEmulatedVisionDeficiencyTypeOption
impl Unpin for SetEmulatedVisionDeficiencyTypeOption
impl UnwindSafe for SetEmulatedVisionDeficiencyTypeOption
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