Trait UnwrapProto

Source
pub trait UnwrapProto {
    type T;

    // Required method
    fn unwrap_proto(self, field: &'static str) -> OnnxResult<Self::T>;
}

Required Associated Types§

Source

type T

Required Methods§

Source

fn unwrap_proto(self, field: &'static str) -> OnnxResult<Self::T>

Implementations on Foreign Types§

Source§

impl<T> UnwrapProto for Option<T>

Source§

type T = T

Source§

fn unwrap_proto(self, field: &'static str) -> OnnxResult<T>

Implementors§