Trait Detail_CameraParamsTrait

Source
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

Required Methods§

Provided Methods§

Source

fn set_focal(&mut self, val: f64)

Source

fn set_aspect(&mut self, val: f64)

Source

fn set_ppx(&mut self, val: f64)

Source

fn set_ppy(&mut self, val: f64)

Source

fn set_r(&mut self, val: Mat)

Source

fn set_t(&mut self, val: Mat)

Source

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.

Implementors§