rpkl 0.8.0

Bindings and codegen for Apple's Pkl configuration language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::internal::ObjectMember;

#[derive(Debug)]
pub struct PklMod {
    pub(crate) module_name: String,
    pub(crate) module_uri: String,
    pub(crate) members: Vec<ObjectMember>,
}

impl PklMod {
    pub fn module_name(&self) -> &str {
        &self.module_name
    }

    pub fn module_uri(&self) -> &str {
        &self.module_uri
    }
}