pub enum ContrastStrategy {
RelativeLuminance,
ApcaExperimental,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContrastStrategy
impl Clone for ContrastStrategy
Source§fn clone(&self) -> ContrastStrategy
fn clone(&self) -> ContrastStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContrastStrategy
Source§impl Debug for ContrastStrategy
impl Debug for ContrastStrategy
Source§impl Default for ContrastStrategy
impl Default for ContrastStrategy
Source§fn default() -> ContrastStrategy
fn default() -> ContrastStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContrastStrategy
impl<'de> Deserialize<'de> for ContrastStrategy
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 Display for ContrastStrategy
impl Display for ContrastStrategy
impl Eq for ContrastStrategy
Source§impl PartialEq for ContrastStrategy
impl PartialEq for ContrastStrategy
Source§impl Serialize for ContrastStrategy
impl Serialize for ContrastStrategy
impl StructuralPartialEq for ContrastStrategy
Auto Trait Implementations§
impl Freeze for ContrastStrategy
impl RefUnwindSafe for ContrastStrategy
impl Send for ContrastStrategy
impl Sync for ContrastStrategy
impl Unpin for ContrastStrategy
impl UnsafeUnpin for ContrastStrategy
impl UnwindSafe for ContrastStrategy
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