pub struct Sixel {
pub pan: i64,
pub pad: i64,
pub pixel_width: Option<u32>,
pub pixel_height: Option<u32>,
pub background_is_transparent: bool,
pub horizontal_grid_size: Option<i64>,
pub data: Vec<SixelData>,
}
Expand description
Fields§
§pan: i64
Specifies the numerator for the pixel aspect ratio
pad: i64
Specifies the denominator for the pixel aspect ratio
pixel_width: Option<u32>
How wide the image is, in pixels
pixel_height: Option<u32>
How tall the image is, in pixels,
background_is_transparent: bool
When true, pixels with 0 value are left at their present color, otherwise, they are set to the background color.
horizontal_grid_size: Option<i64>
The horizontal spacing between pixels
data: Vec<SixelData>
The sixel data
Implementations§
Trait Implementations§
source§impl PartialEq for Sixel
impl PartialEq for Sixel
impl Eq for Sixel
impl StructuralEq for Sixel
impl StructuralPartialEq for Sixel
Auto Trait Implementations§
impl RefUnwindSafe for Sixel
impl Send for Sixel
impl Sync for Sixel
impl Unpin for Sixel
impl UnwindSafe for Sixel
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