#[repr(C)]pub enum BuiltinDither {
MonoDark = 0,
MonoLight = 1,
XTerm16 = 2,
XTerm256 = 3,
VT340Mono = 4,
VT340Color = 5,
G1 = 6,
G2 = 7,
G4 = 8,
G8 = 9,
}Variants§
MonoDark = 0
Monochrome terminal with dark background
MonoLight = 1
Monochrome terminal with light background
Note: libsixel documentation says it is for a dark background…
XTerm16 = 2
XTerm256 = 3
VT340Mono = 4
VT340Color = 5
G1 = 6
1 bit grayscale
G2 = 7
2 bit grayscale
G4 = 8
4 bit grayscale
G8 = 9
8 bit grayscale
Trait Implementations§
Source§impl Clone for BuiltinDither
impl Clone for BuiltinDither
Source§fn clone(&self) -> BuiltinDither
fn clone(&self) -> BuiltinDither
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 BuiltinDither
impl Debug for BuiltinDither
Source§impl Hash for BuiltinDither
impl Hash for BuiltinDither
Source§impl PartialEq for BuiltinDither
impl PartialEq for BuiltinDither
impl Copy for BuiltinDither
impl Eq for BuiltinDither
impl StructuralPartialEq for BuiltinDither
Auto Trait Implementations§
impl Freeze for BuiltinDither
impl RefUnwindSafe for BuiltinDither
impl Send for BuiltinDither
impl Sync for BuiltinDither
impl Unpin for BuiltinDither
impl UnwindSafe for BuiltinDither
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