pub struct MultiSourceFrameData {
pub color_frame: Option<ColorFrameData>,
pub depth_frame: Option<DepthFrameData>,
pub infrared_frame: Option<InfraredFrameData>,
pub body_index_frame: Option<BodyIndexFrameData>,
pub body_frame: Option<BodyFrameData>,
}Expand description
Container for multi-source frame data from the Kinect sensor.
This struct holds optional frame data for each enabled frame source type. Not all frame types may be available in every multi-source frame.
Fields§
§color_frame: Option<ColorFrameData>§depth_frame: Option<DepthFrameData>§infrared_frame: Option<InfraredFrameData>§body_index_frame: Option<BodyIndexFrameData>§body_frame: Option<BodyFrameData>Implementations§
Source§impl MultiSourceFrameData
impl MultiSourceFrameData
pub fn new(multi_source_frame: &MultiSourceFrame) -> Result<Self, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiSourceFrameData
impl RefUnwindSafe for MultiSourceFrameData
impl Send for MultiSourceFrameData
impl Sync for MultiSourceFrameData
impl Unpin for MultiSourceFrameData
impl UnwindSafe for MultiSourceFrameData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more