pub struct RectRef<'s> { /* private fields */ }Implementations§
Source§impl<'s> RectRef<'s>
impl<'s> RectRef<'s>
Sourcepub unsafe fn from_ptr(ptr: NonNull<AVSubtitleRect>) -> Self
pub unsafe fn from_ptr(ptr: NonNull<AVSubtitleRect>) -> Self
§Safety
ptr must be a valid pointer to an AVSubtitleRect.
Ensure that the returned lifetime is correctly bounded.
Trait Implementations§
Source§impl<'s> AsPtr<AVSubtitleRect> for RectRef<'s>
impl<'s> AsPtr<AVSubtitleRect> for RectRef<'s>
Source§fn as_ptr(&self) -> *const AVSubtitleRect
fn as_ptr(&self) -> *const AVSubtitleRect
Returns a *const raw pointer to the underlying FFmpeg type.
Auto Trait Implementations§
impl<'s> !Send for RectRef<'s>
impl<'s> !Sync for RectRef<'s>
impl<'s> Freeze for RectRef<'s>
impl<'s> RefUnwindSafe for RectRef<'s>
impl<'s> Unpin for RectRef<'s>
impl<'s> UnsafeUnpin for RectRef<'s>
impl<'s> UnwindSafe for RectRef<'s>
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