Struct realsense_rust::frame::CompositeFrame[][src]

pub struct CompositeFrame {
    pub ptr: NonNull<rs2_frame>,
}
Expand description

Holds the raw data pointer from an RS2 Composite frame type.

Fields

ptr: NonNull<rs2_frame>

The raw data pointer from the original rs2 frame

Implementations

Gets the number of individual frames included in the composite frame.

Checks if the Composite frame collection is empty.

Retrieves all frames in the Composite frame collection of a given type.

Generic Arguments

F must implement FrameCategory. Some examples of good types to use for this are:

Trait Implementations

Formats the value using the given formatter. Read more

Drop the raw pointer stored with this struct whenever it goes out of scope.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.