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