Skip to main content

GpuProgramTrait

Trait GpuProgramTrait 

Source
pub trait GpuProgramTrait: GpuProgramAsAny { }
Expand description

A trait for whatever objects a graphics server is using to represent programs. There are no methods because all interactions with programs are done through the server, such as with crate::server::GraphicsServer::create_program and crate::framebuffer::GpuFrameBufferTrait::draw.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§