fn add_layer_to_prev(&mut self, name: &str, typ: &str, params: &mut crate::dnn::LayerParams) -> Result<i32> {
		string_arg!(name);
		string_arg!(typ);
		unsafe { sys::cv_dnn_Net_addLayerToPrev_const_StringX_const_StringX_LayerParamsX(self.as_raw_mut_Net(), name.as_ptr(), typ.as_ptr(), params.as_raw_mut_LayerParams()) }.into_result()
	}
/// Adds new layer and connects its first input to the first output of previously added layer.
/// ## See also
/// addLayer()
Adds new layer and connects its first input to the first output of previously added layer.
Adds new layer and connects its first input to the first output of previously added layer .
fn add_layer_to_prev(&mut self, name: &str, typ: &str, params: &mut crate::dnn::LayerParams) -> Result<i32> {
		string_arg!(name);
		string_arg!(typ);
		unsafe { sys::cv_dnn_Net_addLayerToPrev_const_StringX_const_StringX_LayerParamsX(self.as_raw_mut_Net(), name.as_ptr(), typ.as_ptr(), params.as_raw_mut_LayerParams()) }.into_result()
	}
fn add_layer_to_prev ( & mut self , name : & str , typ : & str , params : & mut crate :: dnn :: LayerParams ) -> Result < i32 > { string_arg ! ( name ) ; string_arg ! ( typ ) ; unsafe { sys :: cv_dnn_Net_addLayerToPrev_const_StringX_const_StringX_LayerParamsX ( self . as_raw_mut_Net ( ) , name . as_ptr ( ) , typ . as_ptr ( ) , params . as_raw_mut_LayerParams ( ) ) } . into_result ( ) }
Adds new layer and connects its first input to the first output of previously added layer.
Adds new layer and connects its first input to the first output of previously added layer .
&mut self
name
&str
typ
&str
params
&mut crate::dnn::LayerParams
see also
None