Struct ffmpeg_sys_the_third::AVSubtitleRect
source · #[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_: AVSubtitleType
§text: *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§
source§impl Clone for AVSubtitleRect
impl Clone for AVSubtitleRect
source§fn clone(&self) -> AVSubtitleRect
fn clone(&self) -> AVSubtitleRect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AVSubtitleRect
impl Debug for AVSubtitleRect
source§impl PartialEq<AVSubtitleRect> for AVSubtitleRect
impl PartialEq<AVSubtitleRect> for AVSubtitleRect
source§fn eq(&self, other: &AVSubtitleRect) -> bool
fn eq(&self, other: &AVSubtitleRect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.