Trait opencv::core::ProgramTraitConst
source · 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
fn as_raw_Program(&self) -> *const c_void
Provided Methods
fn ptr(&self) -> Result<*mut c_void>
sourcefn get_binary(&self, binary: &mut Vector<i8>) -> Result<()>
fn get_binary(&self, binary: &mut Vector<i8>) -> Result<()>
Query device-specific program binary.
Returns RAW OpenCL executable binary without additional attachments.
See also
ProgramSource::fromBinary
Parameters
- binary:[out] output buffer