pub trait ProgramTraitConst {
// Required method
fn as_raw_Program(&self) -> *const c_void;
// Provided methods
fn ptr(&self) -> Result<*mut c_void> { ... }
fn get_binary(&self, binary: &mut Vector<c_char>) -> 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> { ... }
}Expand description
Constant methods for core::Program