pub trait UsbAllocatable<'a, B: UsbBus> {
type Allocated;
// Required method
fn allocate(self, usb_alloc: &'a UsbBusAllocator<B>) -> Self::Allocated;
}Required Associated Types§
Required Methods§
fn allocate(self, usb_alloc: &'a UsbBusAllocator<B>) -> Self::Allocated
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".