Type Definition realsense_rust::frame::InfraredFrame[][src]

pub type InfraredFrame = ImageFrame<Infrared>;
Expand description

An ImageFrame type holding the raw pointer and derived metadata for an RS2 Infrared frame.

All fields in this struct are initialized during struct creation (via try_from). Everything called from here during runtime should be valid as long as the Frame is in scope… like normal Rust.

Trait Implementations

Identifies the corresponding Rs2Extension for the type implementing this trait.

Identifies the stream kind corresponding to a given type implementing this trait.

Predicate for checking if the RS2 frame’s stream has the same kind as the frame category.