Skip to main content

DTypeSessionExt

Trait DTypeSessionExt 

Source
pub trait DTypeSessionExt: SessionExt {
    // Required method
    fn dtypes(&self) -> Ref<'_, DTypeSession>;
}
Expand description

Extension trait for accessing the DType session.

Required Methods§

Source

fn dtypes(&self) -> Ref<'_, DTypeSession>

Get the DType session.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§