Struct opencv::highgui::VideoWriter [] [src]

pub struct VideoWriter {
    pub ptr: *mut c_void,
}

Fields

ptr

Methods

impl VideoWriter

fn as_raw_VideoWriter(&self) -> *mut c_void

impl VideoWriter

fn default() -> Result<VideoWriter, String>

fn new(filename: &str, fourcc: i32, fps: f64, frameSize: Size, isColor: bool) -> Result<VideoWriter, String>

fault value for arguments: - isColor: default true

fn open(&mut self, filename: &str, fourcc: i32, fps: f64, frameSize: Size, isColor: bool) -> Result<bool, String>

fault value for arguments: - isColor: default true

fn is_opened(&self) -> Result<bool, String>

fn release(&mut self) -> Result<(), String>

fn write(&mut self, image: &Mat) -> Result<(), String>

Trait Implementations

impl Drop for VideoWriter

fn drop(&mut self)