pub trait DeviceTypedFactExt {
// Required methods
fn to_device_fact(&self) -> TractResult<&DeviceFact>;
fn as_device_fact(&self) -> Option<&DeviceFact>;
fn as_device_fact_mut(&mut self) -> Option<&mut DeviceFact>;
}Required Methods§
fn to_device_fact(&self) -> TractResult<&DeviceFact>
fn as_device_fact(&self) -> Option<&DeviceFact>
fn as_device_fact_mut(&mut self) -> Option<&mut DeviceFact>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".