pub enum SixelData {
Data(SixelValue),
Repeat {
repeat_count: u32,
data: SixelValue,
},
DefineColorMapRGB {
color_number: u16,
rgb: RgbColor,
},
DefineColorMapHSL {
color_number: u16,
hue_angle: u16,
lightness: u8,
saturation: u8,
},
SelectColorMapEntry(u16),
CarriageReturn,
NewLine,
}
Variants
Data(SixelValue)
A single sixel value
Repeat
Run-length encoding; allows repeating a sixel value the specified number of times
DefineColorMapRGB
Set the specified color map entry to the specified linear RGB color value
DefineColorMapHSL
SelectColorMapEntry(u16)
Select the numbered color from the color map entry
CarriageReturn
Move the x position to the left page border of the current sixel line.
NewLine
Move the x position to the left page border and the y position down to the next sixel line.
Trait Implementations
impl Eq for SixelData
impl StructuralEq for SixelData
impl StructuralPartialEq for SixelData
Auto Trait Implementations
impl RefUnwindSafe for SixelData
impl Send for SixelData
impl Sync for SixelData
impl Unpin for SixelData
impl UnwindSafe for SixelData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more