Trait HostExt

Source
pub trait HostExt: Sized {
    // Required method
    fn host(backend_hint: PipelineBackendHint) -> Self;
}

Required Methods§

Source

fn host(backend_hint: PipelineBackendHint) -> Self

Return the value for the current host machine.

Will panic on non-local backends.

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§