Struct nri::structure::Structure [-] [+] [src]

pub struct Structure {
    device: Device,
    depth: VideoStream,
    start: Tm,
    i: usize,
}

Controllable struct for the camera

Fields

device

Private handle to the device

depth

Private handle to the data stream

start

Time that setup() was last called (used for calculating frame rates)

i

Number of frames captured since setup() was last called (used for calculating frame rates)

Trait Implementations

impl Controllable for Structure

fn setup(tx: Sender<CmdFrom>) -> Structure

fn step(&mut self) -> bool

fn teardown(&mut self)