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
sourceimpl Clone for NcPixelImpl
impl Clone for NcPixelImpl
sourcefn clone(&self) -> NcPixelImpl
fn clone(&self) -> NcPixelImpl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NcPixelImpl
impl Debug for NcPixelImpl
sourceimpl Default for NcPixelImpl
impl Default for NcPixelImpl
sourceimpl Display for NcPixelImpl
impl Display for NcPixelImpl
sourceimpl From<NcPixelImpl> for NcPixelImpl_u32
impl From<NcPixelImpl> for NcPixelImpl_u32
sourcefn from(alpha: NcPixelImpl) -> Self
fn from(alpha: NcPixelImpl) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for NcPixelImpl
impl From<u32> for NcPixelImpl
sourcefn from(alpha: NcPixelImpl_u32) -> Self
fn from(alpha: NcPixelImpl_u32) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<NcPixelImpl> for NcPixelImpl
impl PartialEq<NcPixelImpl> for NcPixelImpl
impl Copy for NcPixelImpl
impl StructuralPartialEq for NcPixelImpl
Auto Trait Implementations
impl RefUnwindSafe for NcPixelImpl
impl Send for NcPixelImpl
impl Sync for NcPixelImpl
impl Unpin for NcPixelImpl
impl UnwindSafe for NcPixelImpl
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more