pub enum GrayscaleLevel {
Level2x2 = 2,
Level4x4 = 4,
Level8x8 = 8,
}Expand description
The quality spectrum: how smooth do you want your text?
More samples mean smoother edges but slower rendering. Choose your balance between speed and beauty based on your needs.
Variants§
Level2x2 = 2
Good enough: 2x2 oversampling for fast, decent results
Level4x4 = 4
Sweet spot: 4x4 oversampling that most users love
Level8x8 = 8
Perfectionist: 8x8 oversampling for magazine-quality text
Implementations§
Trait Implementations§
Source§impl Clone for GrayscaleLevel
impl Clone for GrayscaleLevel
Source§fn clone(&self) -> GrayscaleLevel
fn clone(&self) -> GrayscaleLevel
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 Debug for GrayscaleLevel
impl Debug for GrayscaleLevel
Source§impl PartialEq for GrayscaleLevel
impl PartialEq for GrayscaleLevel
impl Copy for GrayscaleLevel
impl Eq for GrayscaleLevel
impl StructuralPartialEq for GrayscaleLevel
Auto Trait Implementations§
impl Freeze for GrayscaleLevel
impl RefUnwindSafe for GrayscaleLevel
impl Send for GrayscaleLevel
impl Sync for GrayscaleLevel
impl Unpin for GrayscaleLevel
impl UnsafeUnpin for GrayscaleLevel
impl UnwindSafe for GrayscaleLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.