(data: T)
| 27 | |
| 28 | impl<T: Clone> LazyItem<T> { |
| 29 | pub fn with_data(data: T) -> Self { |
| 30 | LazyItem { |
| 31 | data: Some(Arc::new(RwLock::new(data))), |
| 32 | offset: None, |
| 33 | decay_counter: 0, |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | impl<T: Clone> LazyItemRef<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected