pub struct VideoFrame { /* private fields */ }Implementations§
Source§impl VideoFrame
impl VideoFrame
pub fn width(&self) -> u32
pub fn height(&self) -> u32
pub fn size(&self) -> u32
pub fn id(&self) -> u16
pub fn timestamp_us(&self) -> i64
pub fn ntp_time_ms(&self) -> i64
pub fn timestamp(&self) -> u32
pub fn rotation(&self) -> VideoRotation
pub unsafe fn video_frame_buffer(&self) -> UniquePtr<VideoFrameBuffer>
Trait Implementations§
Source§impl ExternType for VideoFrame
impl ExternType for VideoFrame
impl Send for VideoFrame
impl Sync for VideoFrame
impl UniquePtrTarget for VideoFrame
Auto Trait Implementations§
impl !Freeze for VideoFrame
impl RefUnwindSafe 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