MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / from_image_async

Method from_image_async

src/images.rs:106–108  ·  view source on GitHub ↗
(image: DynamicImage)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected