logo
#[repr(C)]
pub struct video_destination { /* private fields */ }
Expand description

Video destination interface, represents video rendering site.

Implementations

Whether this instance of video_renderer is attached to a DOM element and is capable of playing.

Start streaming/rendering.

  • frame_size - the width and the height of the video frame.
  • color_space - the color space format of the video frame.
  • src - an optional custom video_source interface implementation, provided by the application.

Stop streaming.

Render the next frame.

Render the next frame with the given stride.

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.