Internal representation of a [`Frame`].
| 7 | |
| 8 | /// Internal representation of a [`Frame`]. |
| 9 | pub(super) trait FrameImpl: Send + Sync + 'static { |
| 10 | fn kind(&self) -> FrameKind<'_>; |
| 11 | |
| 12 | fn as_any(&self) -> &dyn Any; |
| 13 | |
| 14 | fn as_any_mut(&mut self) -> &mut dyn Any; |
| 15 | |
| 16 | /// Provide values which can then be requested. |
| 17 | #[cfg(nightly)] |
| 18 | fn provide<'a>(&'a self, request: &mut Request<'a>); |
| 19 | } |
| 20 | |
| 21 | impl fmt::Debug for Box<dyn FrameImpl> { |
| 22 | fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected