#[non_exhaustive]#[repr(u32)]pub enum NcPixelImpl {
None = 0,
Sixel = 1,
LinuxFb = 2,
Iterm2 = 3,
KittyStatic = 4,
KittyAnimated = 5,
KittySelfRef = 6,
}Expand description
Pixel blitting implementations, informative only.
This is returned by Nc.check_pixel_support.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None = 0
No pixel support.
Sixel = 1
Sixel.
LinuxFb = 2
Linux framebuffer.
Iterm2 = 3
iTerm2.
KittyStatic = 4
Kitty prior to C=1 and animation.
KittyAnimated = 5
Kitty with animation but not reflexive composition.
KittySelfRef = 6
Kitty with reflexive composition.
Trait Implementations§
Source§impl Clone for NcPixelImpl
impl Clone for NcPixelImpl
Source§fn clone(&self) -> NcPixelImpl
fn clone(&self) -> NcPixelImpl
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 NcPixelImpl
impl Debug for NcPixelImpl
Source§impl Default for NcPixelImpl
impl Default for NcPixelImpl
Source§impl Display for NcPixelImpl
impl Display for NcPixelImpl
Source§impl From<NcPixelImpl> for NcPixelImpl_u32
impl From<NcPixelImpl> for NcPixelImpl_u32
Source§fn from(alpha: NcPixelImpl) -> Self
fn from(alpha: NcPixelImpl) -> Self
Converts to this type from the input type.
Source§impl From<u32> for NcPixelImpl
impl From<u32> for NcPixelImpl
Source§fn from(alpha: NcPixelImpl_u32) -> Self
fn from(alpha: NcPixelImpl_u32) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NcPixelImpl
impl PartialEq for NcPixelImpl
impl Copy for NcPixelImpl
impl Eq for NcPixelImpl
impl StructuralPartialEq for NcPixelImpl
Auto Trait Implementations§
impl Freeze for NcPixelImpl
impl RefUnwindSafe for NcPixelImpl
impl Send for NcPixelImpl
impl Sync for NcPixelImpl
impl Unpin for NcPixelImpl
impl UnwindSafe for NcPixelImpl
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