pub enum ShadowQuality {
Off,
Low,
High,
}Expand description
Controls the fidelity of box-shadow rendering.
Variants§
Off
Shadows are not rendered.
Low
Low-quality (fast) shadow approximation.
High
High-quality (expensive) shadow blur.
Trait Implementations§
Source§impl Clone for ShadowQuality
impl Clone for ShadowQuality
Source§fn clone(&self) -> ShadowQuality
fn clone(&self) -> ShadowQuality
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 moreSource§impl Debug for ShadowQuality
impl Debug for ShadowQuality
Source§impl PartialEq for ShadowQuality
impl PartialEq for ShadowQuality
Source§fn eq(&self, other: &ShadowQuality) -> bool
fn eq(&self, other: &ShadowQuality) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadowQuality
Auto Trait Implementations§
impl Freeze for ShadowQuality
impl RefUnwindSafe for ShadowQuality
impl Send for ShadowQuality
impl Sync for ShadowQuality
impl Unpin for ShadowQuality
impl UnsafeUnpin for ShadowQuality
impl UnwindSafe for ShadowQuality
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