Lines Matching defs:W
284 pub fn read_write_callback_file<'a, T, E: 'a, F, W>(
289 _w: &'static W,
294 W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync,
297 <WritableAdapter<FormatAdapter<T, F>, W> as file_ops::ReadWriteFile<_>>::FILE_OPS
341 pub fn write_callback_file<'a, T, E: 'a, W>(
345 _w: &'static W,
349 W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync,
351 let file_ops = <WritableAdapter<NoWriter<T>, W> as WriteFile<_>>::FILE_OPS
634 pub fn read_write_callback_file<T, F, W>(
639 _w: &'static W,
643 W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync,
645 let vtable = <WritableAdapter<FormatAdapter<T, F>, W> as ReadWriteFile<_>>::FILE_OPS
687 pub fn write_only_callback_file<T, W>(&self, name: &CStr, data: &'data T, _w: &'static W)
690 W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync,
692 let vtable = &<WritableAdapter<NoWriter<T>, W> as WriteFile<_>>::FILE_OPS