Struct nri::structure::wrapper::VideoStream [-] [+] [src]

pub struct VideoStream {
    pvs: *mut c_void,
}

Fields

pvs

Methods

impl VideoStream

fn new(dev: &Device, sensor_type: OniSensorType) -> Result<VideoStream, OniError>

unsafe fn null() -> VideoStream

fn start(&self) -> Result<(), OniError>

fn readFrame(&self) -> Result<Frame, OniError>

fn stop(&self)

fn destroy(&self)

Trait Implementations

Derived Implementations

impl Debug for VideoStream

fn fmt(&self, __arg_0: &mut Formatter) -> Result