1 2 3 4 5 6 7 8
use std::any::Any; use std::sync::Arc; pub trait GpuResource { fn reference(&self) -> Arc<dyn Any>; } pub trait GpuHandle { }