pub trait FrameBufferSample: Sealed { }
Expand description
Marker trait for supported output sample types.
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.
Implementations on Foreign Types§
impl FrameBufferSample for f32
Output as 32-bit float samples, with nominal range of [0, 1]
.
impl FrameBufferSample for u8
Output as 8-bit unsigned integer samples.
impl FrameBufferSample for u16
Output as 16-bit unsigned integer samples.