Skip to main content

DeviceTypedFactExt

Trait DeviceTypedFactExt 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl DeviceTypedFactExt for TypedFact

Implementors§