Factory method that wraps the given `expr` and `cols` into a [`HumanizedExpr`] with the current `mode`.
(
&self,
expr: &'a T,
cols: Option<&'a Vec<String>>,
)
| 1117 | /// Factory method that wraps the given `expr` and `cols` into a |
| 1118 | /// [`HumanizedExpr`] with the current `mode`. |
| 1119 | fn expr<'a, T>( |
| 1120 | &self, |
| 1121 | expr: &'a T, |
| 1122 | cols: Option<&'a Vec<String>>, |
| 1123 | ) -> HumanizedExpr<'a, T, Self> { |
| 1124 | HumanizedExpr { |
| 1125 | expr, |
| 1126 | cols, |
| 1127 | mode: self.clone(), |
| 1128 | } |
| 1129 | } |
| 1130 | |
| 1131 | /// Return `true` iff literal redaction is enabled for this mode. |
| 1132 | fn redacted(&self) -> bool; |
no test coverage detected