pub enum Rect<'a> {
None(*const AVSubtitleRect),
Bitmap(Bitmap<'a>),
Text(Text<'a>),
Ass(Ass<'a>),
}
Variants
None(*const AVSubtitleRect)
Bitmap(Bitmap<'a>)
Text(Text<'a>)
Ass(Ass<'a>)
Implementations
sourceimpl<'a> Rect<'a>
impl<'a> Rect<'a>
pub unsafe fn wrap(ptr: *const AVSubtitleRect) -> Self
pub unsafe fn as_ptr(&self) -> *const AVSubtitleRect
Auto Trait Implementations
impl<'a> RefUnwindSafe for Rect<'a>
impl<'a> !Send for Rect<'a>
impl<'a> !Sync for Rect<'a>
impl<'a> Unpin for Rect<'a>
impl<'a> UnwindSafe for Rect<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more