pub trait CUDA_ImagePyramidTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_CUDA_ImagePyramid(&self) -> *const c_void;
// Provided methods
fn get_layer(
&self,
out_img: &mut impl ToOutputArray,
out_roi: Size,
stream: &mut impl StreamTrait,
) -> Result<()> { ... }
fn get_layer_def(
&self,
out_img: &mut impl ToOutputArray,
out_roi: Size,
) -> Result<()> { ... }
}
Expand description
Constant methods for crate::cudalegacy::CUDA_ImagePyramid
Required Methods§
fn as_raw_CUDA_ImagePyramid(&self) -> *const c_void
Provided Methods§
Sourcefn get_layer(
&self,
out_img: &mut impl ToOutputArray,
out_roi: Size,
stream: &mut impl StreamTrait,
) -> Result<()>
fn get_layer( &self, out_img: &mut impl ToOutputArray, out_roi: Size, stream: &mut impl StreamTrait, ) -> Result<()>
§C++ default parameters
- stream: Stream::Null()
Sourcefn get_layer_def(
&self,
out_img: &mut impl ToOutputArray,
out_roi: Size,
) -> Result<()>
fn get_layer_def( &self, out_img: &mut impl ToOutputArray, out_roi: Size, ) -> Result<()>
§Note
This alternative version of CUDA_ImagePyramidTraitConst::get_layer function uses the following default values for its arguments:
- stream: Stream::Null()
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.