Trait rav1e::prelude::IntoFrame [−][src]
Types which can be converted into frames.
This trait is used in Context::send_frame
to allow for passing in
frames with optional frame parameters and optionally frames wrapped in
Arc
(to allow for zero-copy, since the encoder uses frames in Arc
internally).
Required methods
fn into(self) -> (Option<Arc<Frame<T>>>, Option<FrameParameters>)
[src]
Converts the type into a tuple of frame and parameters.