1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[derive(Debug, Clone)] pub struct Matte { pub(crate) matte_id: String, pub(crate) matte_type: String, } impl Matte { pub fn id(&self) -> &str { &self.matte_id } pub fn matte_type(&self) -> &str { &self.matte_type } }