pub enum DebugSpacePattern {
OnePixel,
TwoByTwo,
}Expand description
Debug pattern for validating pixel-perfect rendering of cell dimensions.
When enabled, replaces the space glyph with a checkered pattern to help verify that cell boundaries align correctly with pixel boundaries.
Variants§
Trait Implementations§
Source§impl Clone for DebugSpacePattern
impl Clone for DebugSpacePattern
Source§fn clone(&self) -> DebugSpacePattern
fn clone(&self) -> DebugSpacePattern
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 DebugSpacePattern
Source§impl Debug for DebugSpacePattern
impl Debug for DebugSpacePattern
impl Eq for DebugSpacePattern
Source§impl PartialEq for DebugSpacePattern
impl PartialEq for DebugSpacePattern
Source§fn eq(&self, other: &DebugSpacePattern) -> bool
fn eq(&self, other: &DebugSpacePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugSpacePattern
Auto Trait Implementations§
impl Freeze for DebugSpacePattern
impl RefUnwindSafe for DebugSpacePattern
impl Send for DebugSpacePattern
impl Sync for DebugSpacePattern
impl Unpin for DebugSpacePattern
impl UnsafeUnpin for DebugSpacePattern
impl UnwindSafe for DebugSpacePattern
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.