pub struct EbuTtDDestinationSettings {
pub copyright_holder: Option<String>,
pub fill_line_gap: Option<String>,
pub font_family: Option<String>,
pub style_control: Option<String>,
}
Expand description
Ebu Tt DDestination Settings
Fields
copyright_holder: Option<String>
Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. Complete this field if you want to include the name of the copyright holder in the copyright metadata tag in the TTML
fill_line_gap: Option<String>
Specifies how to handle the gap between the lines (in multi-line captions).
- enabled: Fill with the captions background color (as specified in the input captions).
- disabled: Leave the gap unfilled.
font_family: Option<String>
Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to "monospaced". (If styleControl is set to exclude, the font family is always set to "monospaced".)
You specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.
- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as “Arial”), or a generic font family (such as “serif”), or “default” (to let the downstream player choose the font).
- Leave blank to set the family to “monospace”.
style_control: Option<String>
Specifies the style information (font color, font position, and so on) to include in the font data that is attached to the EBU-TT captions.
- include: Take the style information (font color, font position, and so on) from the source captions and include that information in the font data attached to the EBU-TT captions. This option is valid only if the source captions are Embedded or Teletext.
- exclude: In the font data attached to the EBU-TT captions, set the font family to "monospaced". Do not include any other style information.
Trait Implementations
sourceimpl Clone for EbuTtDDestinationSettings
impl Clone for EbuTtDDestinationSettings
sourcefn clone(&self) -> EbuTtDDestinationSettings
fn clone(&self) -> EbuTtDDestinationSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EbuTtDDestinationSettings
impl Debug for EbuTtDDestinationSettings
sourceimpl Default for EbuTtDDestinationSettings
impl Default for EbuTtDDestinationSettings
sourcefn default() -> EbuTtDDestinationSettings
fn default() -> EbuTtDDestinationSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EbuTtDDestinationSettings
impl<'de> Deserialize<'de> for EbuTtDDestinationSettings
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<EbuTtDDestinationSettings> for EbuTtDDestinationSettings
impl PartialEq<EbuTtDDestinationSettings> for EbuTtDDestinationSettings
sourcefn eq(&self, other: &EbuTtDDestinationSettings) -> bool
fn eq(&self, other: &EbuTtDDestinationSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EbuTtDDestinationSettings) -> bool
fn ne(&self, other: &EbuTtDDestinationSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for EbuTtDDestinationSettings
impl Serialize for EbuTtDDestinationSettings
impl StructuralPartialEq for EbuTtDDestinationSettings
Auto Trait Implementations
impl RefUnwindSafe for EbuTtDDestinationSettings
impl Send for EbuTtDDestinationSettings
impl Sync for EbuTtDDestinationSettings
impl Unpin for EbuTtDDestinationSettings
impl UnwindSafe for EbuTtDDestinationSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more