pub struct RectMut<'s> { /* private fields */ }Implementations§
Source§impl<'s> RectMut<'s>
impl<'s> RectMut<'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.
pub fn as_ref(&self) -> RectRef<'s>
pub fn set_flags(&mut self, flags: Flags)
pub fn set_x(&mut self, value: usize)
pub fn set_y(&mut self, value: usize)
pub fn set_width(&mut self, value: u32)
pub fn set_height(&mut self, value: u32)
pub fn set_colors(&mut self, value: usize)
pub fn set_text(&mut self, value: &str)
pub fn set_ass(&mut self, value: &str)
Trait Implementations§
Source§impl<'s> AsMutPtr<AVSubtitleRect> for RectMut<'s>
impl<'s> AsMutPtr<AVSubtitleRect> for RectMut<'s>
Source§fn as_mut_ptr(&mut self) -> *mut AVSubtitleRect
fn as_mut_ptr(&mut self) -> *mut AVSubtitleRect
Returns a *mut raw pointer to the underlying FFmpeg type.
Source§impl<'s> AsPtr<AVSubtitleRect> for RectMut<'s>
impl<'s> AsPtr<AVSubtitleRect> for RectMut<'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 RectMut<'s>
impl<'s> !Sync for RectMut<'s>
impl<'s> !UnwindSafe for RectMut<'s>
impl<'s> Freeze for RectMut<'s>
impl<'s> RefUnwindSafe for RectMut<'s>
impl<'s> Unpin for RectMut<'s>
impl<'s> UnsafeUnpin for RectMut<'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