Enum libnotcurses_sys::NcPixelImpl
source · #[repr(u32)]
#[non_exhaustive]
pub enum NcPixelImpl {
None,
Sixel,
LinuxFb,
Iterm2,
KittyStatic,
KittyAnimated,
KittySelfRef,
}
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
No pixel support.
Sixel
Sixel.
LinuxFb
Linux framebuffer.
Iterm2
iTerm2.
KittyStatic
Kitty prior to C=1 and animation.
KittyAnimated
Kitty with animation but not reflexive composition.
KittySelfRef
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 copy 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<NcPixelImpl> for NcPixelImpl
impl PartialEq<NcPixelImpl> for NcPixelImpl
source§fn eq(&self, other: &NcPixelImpl) -> bool
fn eq(&self, other: &NcPixelImpl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.