Trait opencv::core::PlatformInfoTraitConst

source ·
pub trait PlatformInfoTraitConst {
    // Required method
    fn as_raw_PlatformInfo(&self) -> *const c_void;

    // Provided methods
    fn name(&self) -> Result<String> { ... }
    fn vendor(&self) -> Result<String> { ... }
    fn version(&self) -> Result<String> { ... }
    fn version_major(&self) -> Result<i32> { ... }
    fn version_minor(&self) -> Result<i32> { ... }
    fn device_number(&self) -> Result<i32> { ... }
    fn get_device(&self, device: &mut impl DeviceTrait, d: i32) -> Result<()> { ... }
    fn empty(&self) -> Result<bool> { ... }
}
Expand description

Constant methods for core::PlatformInfo

Required Methods§

Provided Methods§

source

fn name(&self) -> Result<String>

source

fn vendor(&self) -> Result<String>

source

fn version(&self) -> Result<String>

See CL_PLATFORM_VERSION

source

fn version_major(&self) -> Result<i32>

source

fn version_minor(&self) -> Result<i32>

source

fn device_number(&self) -> Result<i32>

source

fn get_device(&self, device: &mut impl DeviceTrait, d: i32) -> Result<()>

source

fn empty(&self) -> Result<bool>

Object Safety§

This trait is not object safe.

Implementors§