(image: DynamicImage)
| 104 | #[cfg(feature = "async")] |
| 105 | #[cfg_attr(docsrs, doc(cfg(feature = "async")))] |
| 106 | pub fn from_image_async(image: DynamicImage) -> Result<ImageRect, StreamDeckError> { |
| 107 | tokio::task::block_in_place(move || ImageRect::from_image(image)) |
| 108 | } |
| 109 | } |
nothing calls this directly
no outgoing calls
no test coverage detected