Trait opencv::core::ProgramTraitConst[][src]

pub trait ProgramTraitConst {
    fn as_raw_Program(&self) -> *const c_void;

    fn ptr(&self) -> Result<*mut c_void> { ... }
fn get_binary(&self, binary: &mut Vector<i8>) -> Result<()> { ... }
fn empty(&self) -> Result<bool> { ... }
fn write(&self, buf: &mut String) -> Result<bool> { ... }
fn source(&self) -> Result<ProgramSource> { ... }
fn get_prefix(&self) -> Result<String> { ... } }

Required methods

Provided methods

Query device-specific program binary.

Returns RAW OpenCL executable binary without additional attachments.

See also

ProgramSource::fromBinary

Parameters
  • binary:[out] output buffer

Implementors