oca 0.2.0

An experiment with no_std
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub struct Parameters<'a> {
    pub count: u8,
    pub parameters: &'a [u8],
}

impl Parameters<'static> {
    pub fn empty() -> Self {
        Self {
            count: 0,
            parameters: &[],
        }
    }
}