pub enum ValueHighlight {
Background,
Text,
}Expand description
Where the byte-value palette should be applied.
Variants§
Background
Paint the palette as a background fill per byte. Text gets a contrast-adjusted color so it stays readable over the tint.
Text
Tint the hex/ascii glyphs themselves; leave the background alone.
Trait Implementations§
Source§impl Clone for ValueHighlight
impl Clone for ValueHighlight
Source§fn clone(&self) -> ValueHighlight
fn clone(&self) -> ValueHighlight
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 ValueHighlight
impl Debug for ValueHighlight
Source§impl PartialEq for ValueHighlight
impl PartialEq for ValueHighlight
impl Copy for ValueHighlight
impl Eq for ValueHighlight
impl StructuralPartialEq for ValueHighlight
Auto Trait Implementations§
impl Freeze for ValueHighlight
impl RefUnwindSafe for ValueHighlight
impl Send for ValueHighlight
impl Sync for ValueHighlight
impl Unpin for ValueHighlight
impl UnsafeUnpin for ValueHighlight
impl UnwindSafe for ValueHighlight
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