#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.