pub trait AttrScalarType<'a>: 'a + Sized {
// Required method
fn get_attr_opt_scalar(
node: &'a NodeProto,
name: &str,
) -> TractResult<Option<Self>>;
}Required Methods§
fn get_attr_opt_scalar( node: &'a NodeProto, name: &str, ) -> TractResult<Option<Self>>
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.