[][src]Struct stainless_ffmpeg_sys::AVSubtitleRect

#[repr(C)]pub struct AVSubtitleRect {
    pub x: c_int,
    pub y: c_int,
    pub w: c_int,
    pub h: c_int,
    pub nb_colors: c_int,
    pub pict: AVPicture,
    pub data: [*mut u8; 4],
    pub linesize: [c_int; 4],
    pub type_: AVSubtitleType,
    pub text: *mut c_char,
    pub ass: *mut c_char,
    pub flags: c_int,
}

Fields

x: c_int

< top left corner of pict, undefined when pict is not set

y: c_int

< top left corner of pict, undefined when pict is not set

w: c_int

< width of pict, undefined when pict is not set

h: c_int

< height of pict, undefined when pict is not set

nb_colors: c_int

< number of colors in pict, undefined when pict is not set

pict: AVPicture

@deprecated unused

data: [*mut u8; 4]

data+linesize for the bitmap of this subtitle. Can be set for text/ass as well once they are rendered.

linesize: [c_int; 4]type_: AVSubtitleTypetext: *mut c_char

< 0 terminated plain UTF-8 text

ass: *mut c_char

0 terminated ASS/SSA compatible event line. The presentation of this is unaffected by the other values in this struct.

flags: c_int

Trait Implementations

impl Clone for AVSubtitleRect[src]

impl Copy for AVSubtitleRect[src]

impl Debug for AVSubtitleRect[src]

impl Eq for AVSubtitleRect[src]

impl PartialEq<AVSubtitleRect> for AVSubtitleRect[src]

impl StructuralEq for AVSubtitleRect[src]

impl StructuralPartialEq for AVSubtitleRect[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.