pub struct VideoFrame(/* private fields */);Implementations§
Source§impl VideoFrame
impl VideoFrame
pub fn timestamp(&self) -> Timestamp
pub fn duration(&self) -> Option<Duration>
pub fn display_width(&self) -> u32
pub fn display_height(&self) -> u32
pub fn coded_width(&self) -> u32
pub fn coded_height(&self) -> u32
pub fn inner(&self) -> &VideoFrame
Trait Implementations§
Source§impl Debug for VideoFrame
impl Debug for VideoFrame
Source§impl Drop for VideoFrame
impl Drop for VideoFrame
Source§impl From<VideoFrame> for VideoFrame
impl From<VideoFrame> for VideoFrame
Source§fn from(value: VideoFrame) -> Self
fn from(value: VideoFrame) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VideoFrame
impl RefUnwindSafe for VideoFrame
impl !Send for VideoFrame
impl !Sync for VideoFrame
impl Unpin for VideoFrame
impl UnwindSafe for VideoFrame
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