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