Trait coaster::device::IDevice [−][src]
pub trait IDevice where
Self: Any + Clone + Eq + MemorySync, {
type H: IHardware;
type M: IMemory + Any;
fn id(&self) -> &isize;
fn hardwares(&self) -> &Vec<Self::H>;
fn alloc_memory(&self, size: usize) -> Result<Self::M, Error>;
}
Expand description
Specifies Hardware behavior across frameworks.