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: i64Specifies the numerator for the pixel aspect ratio
pad: i64Specifies 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: boolWhen 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§
impl Eq for Sixel
impl StructuralPartialEq for Sixel
Auto Trait Implementations§
impl Freeze for Sixel
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