Struct ffmpeg_next::codec::subtitle::Subtitle
source · pub struct Subtitle(/* private fields */);Implementations§
source§impl Subtitle
impl Subtitle
pub unsafe fn as_ptr(&self) -> *const AVSubtitle
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVSubtitle
source§impl Subtitle
impl Subtitle
pub fn new() -> Self
pub fn pts(&self) -> Option<i64>
pub fn set_pts(&mut self, value: Option<i64>)
pub fn start(&self) -> u32
pub fn set_start(&mut self, value: u32)
pub fn end(&self) -> u32
pub fn set_end(&mut self, value: u32)
pub fn rects(&self) -> RectIter<'_> ⓘ
pub fn rects_mut(&mut self) -> RectMutIter<'_> ⓘ
pub fn add_rect(&mut self, kind: Type) -> RectMut<'_>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Subtitle
impl !Send for Subtitle
impl !Sync for Subtitle
impl Unpin for Subtitle
impl UnwindSafe for Subtitle
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