(&self, layouts: &'a [(Breakpoint, T)])
| 26 | } |
| 27 | |
| 28 | pub fn get_layout<'a, T>(&self, layouts: &'a [(Breakpoint, T)]) -> Option<&'a T> { |
| 29 | layouts.iter() |
| 30 | .find(|(bp, _)| self.current == *bp) |
| 31 | .map(|(_, layout)| layout) |
| 32 | } |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected