Type Definition libnotcurses_sys::c_api::NcRgba_u32

source ·
pub type NcRgba_u32 = u32;
Expand description

32 bits broken into 3x RGB components plus one alpha component.

It’s recommended to use NcRgba instead.

Diagram

AAAAAAAA RRRRRRRR GGGGGGGG BBBBBBBB

type in C: no data type

See also: NcRgb_u32 and NcChannel_u32 types.

Trait Implementations§

source§

impl<'a> From<&'a NcRgba> for &'a NcRgba_u32

source§

fn from(s: &'a NcRgba) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a mut NcRgba> for &'a mut NcRgba_u32

source§

fn from(s: &'a mut NcRgba) -> Self

Converts to this type from the input type.
source§

impl From<NcRgba> for NcRgba_u32

source§

fn from(s: NcRgba) -> Self

Converts to this type from the input type.