Create a new function-based data source
(func: F)
| 32 | { |
| 33 | /// Create a new function-based data source |
| 34 | pub fn new(func: F) -> Self { |
| 35 | Self { func } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | impl<F> DataSource for FnDataSource<F> |
nothing calls this directly
no outgoing calls
no test coverage detected