Struct GsiBlock

Source
pub struct GsiBlock { /* private fields */ }
Expand description

General Subtitle Information (GSI) block

Implementations§

Source§

impl GsiBlock

Source

pub fn get_code_page_number(&self) -> &CodePageNumber

Source

pub fn get_disk_format_code(&self) -> &DiskFormatCode

Source

pub fn get_display_standard_code(&self) -> &DisplayStandardCode

Source

pub fn get_character_code_table(&self) -> &CharacterCodeTable

Source

pub fn get_language_code(&self) -> &str

Source

pub fn get_original_program_title(&self) -> &str

Source

pub fn get_original_episode_title(&self) -> &str

Source

pub fn get_translated_program_title(&self) -> &str

Source

pub fn get_translated_episode_title(&self) -> &str

Source

pub fn get_translators_name(&self) -> &str

Source

pub fn get_translators_contact_details(&self) -> &str

Source

pub fn get_subtitle_list_reference_code(&self) -> &str

Source

pub fn get_creation_date(&self) -> &str

Source

pub fn get_revision_date(&self) -> &str

Source

pub fn get_revision_number(&self) -> &str

Source

pub fn get_total_number_of_text_and_timing_blocks(&self) -> u16

Source

pub fn get_total_number_of_subtitles(&self) -> u16

Source

pub fn get_total_number_of_chars_in_row(&self) -> u16

Source

pub fn get_max_number_of_chars_in_row(&self) -> u16

Source

pub fn get_max_number_of_rows(&self) -> u16

Source

pub fn get_timecode_status(&self) -> &TimeCodeStatus

Source

pub fn get_timecode_start_of_program(&self) -> &str

Source

pub fn get_timecode_first_in_cue(&self) -> &str

Source

pub fn get_total_number_of_disks(&self) -> u8

Source

pub fn get_disk_sequence_number(&self) -> u8

Source

pub fn get_country_of_origin(&self) -> &str

Source

pub fn get_publisher(&self) -> &str

Source

pub fn get_editors_name(&self) -> &str

Source

pub fn get_editors_contact_details(&self) -> &str

Source

pub fn get_user_defined_area(&self) -> &str

Source§

impl GsiBlock

Source

pub fn new() -> GsiBlock

Trait Implementations§

Source§

impl Debug for GsiBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GsiBlock

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for GsiBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for GsiBlock

Source§

fn eq(&self, other: &GsiBlock) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for GsiBlock

Source§

impl StructuralPartialEq for GsiBlock

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.