/// Check if `name` should be exposed as a variable.
Check if `name` should be exposed as a variable.
Check if ` name ` should be exposed as a variable .
pub fn allow_var(&self, name: &Name) -> bool {
        match self {
            Expose::All => true,
            Expose::Show(_, show) => show.contains(name),
            Expose::Hide(_, hide) => !hide.contains(name),
        }
    }
pub fn allow_var ( & self , name : & Name ) -> bool { match self { Expose :: All => true , Expose :: Show ( _ , show ) => show . contains ( name ) , Expose :: Hide ( _ , hide ) => ! hide . contains ( name ) , } }
Check if `name` should be exposed as a variable.
Check if ` name ` should be exposed as a variable .
&self
name
&Name