Struct nri::structure::wrapper::VideoStream
[-] [+]
[src]
pub struct VideoStream { pvs: *mut c_void, }
Fields
pvs |
pub struct VideoStream { pvs: *mut c_void, }
pvs |
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)
impl Debug for VideoStream
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).