pub struct AVFrameSideData { /* private fields */ }Implementations§
Source§impl AVFrameSideData
impl AVFrameSideData
pub fn as_ptr(&self) -> *const AVFrameSideData
pub fn as_mut_ptr(&mut self) -> *mut AVFrameSideData
Sourcepub unsafe fn set_ptr(&mut self, ptr: NonNull<AVFrameSideData>)
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVFrameSideData>)
§Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
Sourcepub unsafe fn from_raw(raw: NonNull<AVFrameSideData>) -> Self
pub unsafe fn from_raw(raw: NonNull<AVFrameSideData>) -> Self
§Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub fn into_raw(self) -> NonNull<AVFrameSideData>
Trait Implementations§
Source§impl Deref for AVFrameSideData
impl Deref for AVFrameSideData
impl Send for AVFrameSideData
Source§impl UnsafeDerefMut for AVFrameSideData
impl UnsafeDerefMut for AVFrameSideData
Auto Trait Implementations§
impl !Sync for AVFrameSideData
impl Freeze for AVFrameSideData
impl RefUnwindSafe for AVFrameSideData
impl Unpin for AVFrameSideData
impl UnsafeUnpin for AVFrameSideData
impl UnwindSafe for AVFrameSideData
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