#[non_exhaustive]pub struct IvfFrame<'a> {
pub timestamp: u64,
pub data: &'a [u8],
}Expand description
One IVF frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timestamp: u64Presentation timestamp in time-base units.
data: &'a [u8]The frame data (one raw VP8 frame).
Trait Implementations§
impl<'a> Copy for IvfFrame<'a>
impl<'a> Eq for IvfFrame<'a>
impl<'a> StructuralPartialEq for IvfFrame<'a>
Auto Trait Implementations§
impl<'a> Forget for IvfFrame<'a>
impl<'a> Freeze for IvfFrame<'a>
impl<'a> Move for IvfFrame<'a>
impl<'a> RefUnwindSafe for IvfFrame<'a>
impl<'a> Send for IvfFrame<'a>
impl<'a> Sync for IvfFrame<'a>
impl<'a> Unpin for IvfFrame<'a>
impl<'a> UnsafeUnpin for IvfFrame<'a>
impl<'a> UnwindSafe for IvfFrame<'a>
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