pub trait Detail_CameraParamsTrait: Detail_CameraParamsTraitConst {
// Required method
fn as_raw_mut_Detail_CameraParams(&mut self) -> *mut c_void;
// Provided methods
fn set_focal(&mut self, val: f64) { ... }
fn set_aspect(&mut self, val: f64) { ... }
fn set_ppx(&mut self, val: f64) { ... }
fn set_ppy(&mut self, val: f64) { ... }
fn set_r(&mut self, val: Mat) { ... }
fn set_t(&mut self, val: Mat) { ... }
fn set(&mut self, other: &impl Detail_CameraParamsTraitConst) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::stitching::Detail_CameraParams
Required Methods§
fn as_raw_mut_Detail_CameraParams(&mut self) -> *mut c_void
Provided Methods§
fn set_focal(&mut self, val: f64)
fn set_aspect(&mut self, val: f64)
fn set_ppx(&mut self, val: f64)
fn set_ppy(&mut self, val: f64)
fn set_r(&mut self, val: Mat)
fn set_t(&mut self, val: Mat)
fn set(&mut self, other: &impl Detail_CameraParamsTraitConst) -> Result<()>
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.