[][src]Trait opencv::hub_prelude::ProgramTrait

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

Required methods

Loading content...

Provided methods

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

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

pub 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

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

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

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

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

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

Loading content...

Implementors

impl ProgramTrait for Program[src]

Loading content...