[−][src]Trait tract_onnx::pb_helpers::OptionExt
Associated Types
type Item
Required methods
fn and_try<F, T>(self, f: F) -> TractResult<Option<T>> where
F: Fn(Self::Item) -> TractResult<T>,
F: Fn(Self::Item) -> TractResult<T>,
fn and_ok<F, T>(self, f: F) -> TractResult<Option<T>> where
F: Fn(Self::Item) -> T,
F: Fn(Self::Item) -> T,
Implementations on Foreign Types
impl<A> OptionExt for Option<A>
[src]
type Item = A
fn and_try<F, T>(self, f: F) -> TractResult<Option<T>> where
F: Fn(Self::Item) -> TractResult<T>,
[src]
F: Fn(Self::Item) -> TractResult<T>,
fn and_ok<F, T>(self, f: F) -> TractResult<Option<T>> where
F: Fn(Self::Item) -> T,
[src]
F: Fn(Self::Item) -> T,