Enum libnotcurses_sys::NcAlpha [−][src]
#[repr(u32)]
pub enum NcAlpha {
Blend,
HighContrast,
Opaque,
Transparent,
}Expand description
Alpha information, part of an NcChannel,
applies to NcCell’s foreground or background color.
Default:
Diagram
Internally it’s 2 bits of alpha, surrounded by context dependent bits:
~~AA~~~~ -------- -------- --------See also: NcChannels for more context information.
Variants
Blend
Indicates NcCell’s foreground or background color will be a
composite between its color and the NcCells’ corresponding colors
underneath it.
HighContrast
Indicates the foreground color will be high-contrast, relative to the computed background.
Background cannot be high-contrast.
Opaque
Indicates NcCell’s foreground or background color is used unchanged.
Transparent
Indicates NcCell’s foreground or background color is derived
entirely from the NcCells underneath it.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NcAlpha
impl UnwindSafe for NcAlpha
Blanket Implementations
Mutably borrows from an owned value. Read more
