pub struct Frame { /* private fields */ }Implementations§
Source§impl Frame
impl Frame
pub unsafe fn wrap(ptr: *mut AVFrame) -> Self
pub unsafe fn empty() -> Self
pub unsafe fn as_ptr(&self) -> *const AVFrame
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFrame
pub unsafe fn as_ref(&self) -> Option<&AVFrame>
pub unsafe fn as_mut(&mut self) -> Option<&mut AVFrame>
pub unsafe fn is_empty(&self) -> bool
Source§impl Frame
impl Frame
pub fn is_key(&self) -> bool
pub fn is_corrupt(&self) -> bool
pub fn pts(&self) -> Option<i64>
pub fn set_pts(&mut self, value: Option<i64>)
pub fn timestamp(&self) -> Option<i64>
pub fn quality(&self) -> usize
pub fn flags(&self) -> Flags
pub fn metadata(&self) -> DictionaryRef<'_>
pub fn metadata_mut(&mut self) -> DictionaryMut<'_>
pub fn side_data(&self, kind: Type) -> Option<SideData<'_>>
pub fn new_side_data(&mut self, kind: Type, size: usize) -> Option<SideData<'_>>
pub fn remove_side_data(&mut self, kind: Type)
Trait Implementations§
impl Eq for Frame
impl Send for Frame
impl StructuralPartialEq for Frame
impl Sync for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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