accepts_codegen/common/context/
context.rs

1#[derive(Debug, Clone, PartialEq, Eq)]
2pub struct CodegenContext {
3    pub internal: bool,
4}
5impl CodegenContext {
6    pub fn new(internal: bool) -> Self {
7        Self { internal }
8    }
9
10    pub const fn new_const(internal: bool) -> Self {
11        Self { internal }
12    }
13}