mirror of
https://github.com/bend-n/fimg.git
synced 2024-12-22 10:28:21 -06:00
fix saveless
This commit is contained in:
parent
82c597213b
commit
fd41988c10
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "fimg"
|
name = "fimg"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
authors = ["bend-n <bend.n@outlook.com>"]
|
authors = ["bend-n <bend.n@outlook.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -239,6 +239,7 @@ impl<const CHANNELS: usize> Image<Vec<u8>, CHANNELS> {
|
||||||
macro_rules! save {
|
macro_rules! save {
|
||||||
($channels:literal == $clr:ident ($clrhuman:literal)) => {
|
($channels:literal == $clr:ident ($clrhuman:literal)) => {
|
||||||
impl Image<Vec<u8>, $channels> {
|
impl Image<Vec<u8>, $channels> {
|
||||||
|
#[cfg(feature = "save")]
|
||||||
#[doc = "Save this "]
|
#[doc = "Save this "]
|
||||||
#[doc = $clrhuman]
|
#[doc = $clrhuman]
|
||||||
#[doc = " image."]
|
#[doc = " image."]
|
||||||
|
|
Loading…
Reference in a new issue