pub trait InputAdapterHandler<D: AdapterDescriptor<Input, Handler = Self>>: BaseAdapterHandler<Input, D> {
// Required method
fn read(
&mut self,
blit_ctx: &InputBlitContext,
position: usize,
data: &mut [u8],
) -> Result<(), GvoxError>;
}
Expand description
Represents the user data type that handles input adapter context operations.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.