pub trait VisionInput:
Sealed
+ Send
+ Sync
+ 'static {
type Clip: Send + Sync + Debug + 'static;
const REMOTE: bool;
// Required method
fn sent(&self) -> &SentImage;
}Available on crate feature
vision only.Expand description
The two kinds of image a backend can be handed: SentImage for on-device backends
and ReleasedImage for remote ones. Sealed: no other type implements it.
Required Associated Constants§
Sourceconst REMOTE: bool
const REMOTE: bool
true for ReleasedImage.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".