(
effects: Vec<PostProcessEffect>,
mut names: Vec<Option<Cow<'static, str>>>,
)
| 155 | impl Default for PostProcessSet { |
| 156 | fn default() -> Self { |
| 157 | Self::new() |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | impl PostProcessSet { |
| 162 | pub fn new() -> Self { |
| 163 | Self { |
| 164 | entries: Vec::new(), |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | pub fn from_effects(effects: Vec<PostProcessEffect>) -> Self { |
| 169 | Self { |
| 170 | entries: effects.into_iter().map(PostProcessEntry::unnamed).collect(), |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | pub fn from_entries(entries: Vec<PostProcessEntry>) -> Self { |
| 175 | Self { entries } |
| 176 | } |
nothing calls this directly
no test coverage detected