Trait Version

Source
pub trait Version {
    const VERSION: VersionCode;

    // Provided method
    fn load() -> Result<*mut Entry, Error> { ... }
}
Expand description

Entry point into the RenderDoc API.

Required Associated Constants§

Source

const VERSION: VersionCode

Minimum compatible version number.

Provided Methods§

Source

fn load() -> Result<*mut Entry, Error>

Initializes a new instance of the RenderDoc API.

§Safety

This function is not thread-safe and should not be called on multiple threads at once.

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§

Source§

impl Version for V100

Source§

const VERSION: VersionCode = VersionCode::V100

Source§

impl Version for V110

Source§

const VERSION: VersionCode = VersionCode::V110

Source§

impl Version for V111

Source§

const VERSION: VersionCode = VersionCode::V111

Source§

impl Version for V112

Source§

const VERSION: VersionCode = VersionCode::V112

Source§

impl Version for V120

Source§

const VERSION: VersionCode = VersionCode::V120

Source§

impl Version for V130

Source§

const VERSION: VersionCode = VersionCode::V130

Source§

impl Version for V140

Source§

const VERSION: VersionCode = VersionCode::V140

Source§

impl Version for V141

Source§

const VERSION: VersionCode = VersionCode::V141