INNER CODE UNIT · Rust
metadata
lurk-lab/lurk-beta · foil/src/lib.rs:80
pub fn metadata(&self) -> &T {
&self.metadata
}
pub fn projectors(&self) -> Option<&Vec<Self>> {
self.projectors.as_ref()
}
}
#[derive(Debug, Eq, Clone, Hash, PartialEq)]
pub struct FoilConfig {
/// If `dedup_var_names` is `true`, `Var`s with identical names will be merged when finalizing.
/// This option may be removed if it becomes clear that one setting is preferred.
dedup_var_names: bool,
}
impl Default for FoilConfig {
fn default() -> Self {
Self {