pixeli/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc(html_logo_url = "https://kornel.ski/rgb-logo.png")]
3#![warn(missing_docs)]
4#![no_std]
5
6mod abgr;
7mod argb;
8mod bgr;
9mod bgra;
10mod gray;
11mod gray_alpha;
12mod rgb;
13mod rgba;
14
15mod from;
16#[cfg(feature = "libm")]
17mod from_pixel_common;
18mod pixel;
19mod with_alpha;
20
21pub use abgr::Abgr;
22pub use argb::Argb;
23pub use bgr::Bgr;
24pub use bgra::Bgra;
25pub use gray::Gray;
26pub use gray_alpha::GrayAlpha;
27pub use rgb::Rgb;
28pub use rgba::Rgba;
29
30#[cfg(feature = "libm")]
31pub use from_pixel_common::{
32    enlargeable::Enlargeable, from_component_common::FromComponentCommon, FromPixelCommon,
33};
34pub use pixel::{
35    as_slice::AsSlice, contiguous_pixel::ContiguousPixel, pixel_component::PixelComponent, Pixel,
36};
37pub use with_alpha::{WithAlpha, WithoutAlpha};