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.
Aliased Type§
pub struct InfraredFrame { /* private fields */ }
Trait Implementations§
Source§impl FrameCategory for InfraredFrame
impl FrameCategory for InfraredFrame
Source§fn extension() -> Rs2Extension
fn extension() -> Rs2Extension
Identifies the corresponding
Rs2Extension
for the type implementing this trait.Source§fn kind() -> Rs2StreamKind
fn kind() -> Rs2StreamKind
Identifies the stream kind corresponding to a given type implementing this trait.
Source§fn has_correct_kind(&self) -> bool
fn has_correct_kind(&self) -> bool
Predicate for checking if the RS2 frame’s stream has the same kind as the frame category.