Skip to main content

IndirectCommand

Trait IndirectCommand 

Source
pub trait IndirectCommand:
    Pod
    + Zeroable
    + Default {
    const SIZE: u64;
}
Expand description

Marker trait for indirect draw command types.

Required Associated Constants§

Source

const SIZE: u64

Size of a single command in bytes.

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.

Implementors§