Struct afi::Video

source ·
pub struct Video { /* private fields */ }
Expand description

A Video Buffer (24fps).

Implementations§

Create a new video buffer.

Get the width and height of the video.

Get the video buffer’s color format.

Add frame to the buffer.

Return the number frames in the buffer.

Returns pixels for the next frame on the Queue.

Return the number of channels.

Return the total number of frames in the video.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.