pub trait LoopLayerTraitConst: LayerTraitConst {
// Required method
fn as_raw_LoopLayer(&self) -> *const c_void;
// Provided method
fn cond(&self, arr: &impl ToInputArray) -> Result<bool> { ... }
}Expand description
Constant methods for crate::dnn::LoopLayer
Required Methods§
fn as_raw_LoopLayer(&self) -> *const c_void
Provided Methods§
Sourcefn cond(&self, arr: &impl ToInputArray) -> Result<bool>
fn cond(&self, arr: &impl ToInputArray) -> Result<bool>
Evaluate loop condition tensor as a boolean flag.
The input tensor must contain exactly one element of an integral or floating type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".