[−][src]Struct opencv::core::Program
Implementations
impl Program
[src]
pub fn as_raw_Program(&self) -> *const c_void
[src]
pub fn as_raw_mut_Program(&mut self) -> *mut c_void
[src]
impl Program
[src]
pub fn default() -> Result<Program>
[src]
pub fn new(
src: &ProgramSource,
buildflags: &str,
errmsg: &mut String
) -> Result<Program>
[src]
src: &ProgramSource,
buildflags: &str,
errmsg: &mut String
) -> Result<Program>
pub fn copy(prog: &Program) -> Result<Program>
[src]
pub fn get_prefix_build_flags(buildflags: &str) -> Result<String>
[src]
Trait Implementations
impl Boxed for Program
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for Program
[src]
impl ProgramTrait for Program
[src]
fn as_raw_Program(&self) -> *const c_void
[src]
fn as_raw_mut_Program(&mut self) -> *mut c_void
[src]
fn create(
&mut self,
src: &ProgramSource,
buildflags: &str,
errmsg: &mut String
) -> Result<bool>
[src]
&mut self,
src: &ProgramSource,
buildflags: &str,
errmsg: &mut String
) -> Result<bool>
fn ptr(&self) -> Result<*mut c_void>
[src]
fn get_binary(&self, binary: &mut Vector<i8>) -> Result<()>
[src]
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]
impl Send for Program
[src]
Auto Trait Implementations
impl RefUnwindSafe for Program
[src]
impl !Sync for Program
[src]
impl Unpin for Program
[src]
impl UnwindSafe for Program
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,