[][src]Struct ffmpeg::codec::subtitle::Subtitle

pub struct Subtitle(_);

Implementations

impl Subtitle[src]

pub unsafe fn as_ptr(&self) -> *const AVSubtitle[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVSubtitle[src]

impl Subtitle[src]

pub fn new() -> Self[src]

pub fn pts(&self) -> Option<i64>[src]

pub fn set_pts(&mut self, value: Option<i64>)[src]

pub fn start(&self) -> u32[src]

pub fn set_start(&mut self, value: u32)[src]

pub fn end(&self) -> u32[src]

pub fn set_end(&mut self, value: u32)[src]

pub fn rects(&self) -> RectIter<'_>

Notable traits for RectIter<'a>

impl<'a> Iterator for RectIter<'a> type Item = Rect<'a>;
[src]

pub fn rects_mut(&mut self) -> RectMutIter<'_>

Notable traits for RectMutIter<'a>

impl<'a> Iterator for RectMutIter<'a> type Item = RectMut<'a>;
[src]

pub fn add_rect(&mut self, kind: Type) -> RectMut<'_>[src]

Trait Implementations

impl Default for Subtitle[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.