[][src]Trait opencv::core::ProgramTrait

pub trait ProgramTrait {
    fn as_raw_Program(&self) -> *const c_void;
fn as_raw_mut_Program(&mut self) -> *mut c_void; fn create(
        &mut self,
        src: &ProgramSource,
        buildflags: &str,
        errmsg: &mut String
    ) -> Result<bool> { ... }
fn ptr(&self) -> Result<*mut c_void> { ... }
fn get_binary(&self, binary: &mut Vector<i8>) -> Result<()> { ... }
fn empty(&self) -> Result<bool> { ... }
fn read(&mut self, buf: &str, buildflags: &str) -> Result<bool> { ... }
fn write(&self, buf: &mut String) -> Result<bool> { ... }
fn source(&self) -> Result<ProgramSource> { ... }
fn get_prefix(&self) -> Result<String> { ... } }

Required methods

Loading content...

Provided methods

fn create(
    &mut self,
    src: &ProgramSource,
    buildflags: &str,
    errmsg: &mut String
) -> Result<bool>
[src]

fn ptr(&self) -> Result<*mut c_void>[src]

fn get_binary(&self, binary: &mut Vector<i8>) -> Result<()>[src]

Query device-specific program binary.

Returns RAW OpenCL executable binary without additional attachments.

See also

ProgramSource::fromBinary

Parameters

  • binary:[out] output buffer

fn empty(&self) -> Result<bool>[src]

fn read(&mut self, buf: &str, buildflags: &str) -> Result<bool>[src]

fn write(&self, buf: &mut String) -> Result<bool>[src]

fn source(&self) -> Result<ProgramSource>[src]

fn get_prefix(&self) -> Result<String>[src]

Loading content...

Implementors

impl ProgramTrait for Program[src]

Loading content...