chara_card 0.3.0

A library to deal with character card formats and `.charx` in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::raw::ext::macros::extensions;
use std::ops::Deref;

/// Represents an array of application-specific extensions.
#[derive(Debug, Clone)]
pub struct Extensions(Vec<Extension>);

impl Deref for Extensions {
    type Target = [Extension];

    fn deref(&self) -> &Self::Target {
        self.0.deref()
    }
}

extensions! {
    pngExif(Value),
}