[−][src]Struct libass_sys::ASS_OverrideBits
\brief Style override options. See ass_set_selective_style_override_enabled() for details.
Methods
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_DEFAULT: ASS_OverrideBits
[src]
Default mode (with no other bits set). All selective override features as well as the style set with ass_set_selective_style_override() are disabled, but traditional overrides like ass_set_font_scale() are applied unconditionally.
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_STYLE: ASS_OverrideBits
[src]
Apply the style as set with ass_set_selective_style_override() on events which look like dialogue. Other style overrides are also applied this way, except ass_set_font_scale(). How ass_set_font_scale() is applied depends on the ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE flag.
This is equivalent to setting all of the following bits:
ASS_OVERRIDE_BIT_FONT_NAME ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS ASS_OVERRIDE_BIT_COLORS ASS_OVERRIDE_BIT_BORDER ASS_OVERRIDE_BIT_ATTRIBUTES
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE: ASS_OverrideBits
[src]
Apply ass_set_font_scale() only on events which look like dialogue. If not set, the font scale is applied to all events. (The behavior and name of this flag are unintuitive, but exist for compatibility)
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_FONT_SIZE: ASS_OverrideBits
[src]
Old alias for ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE. Deprecated. Do not use.
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS: ASS_OverrideBits
[src]
On dialogue events override: FontSize, Spacing, Blur, ScaleX, ScaleY
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_FONT_NAME: ASS_OverrideBits
[src]
On dialogue events override: FontName, treat_fontname_as_pattern
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_COLORS: ASS_OverrideBits
[src]
On dialogue events override: PrimaryColour, SecondaryColour, OutlineColour, BackColour
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_ATTRIBUTES: ASS_OverrideBits
[src]
On dialogue events override: Bold, Italic, Underline, StrikeOut
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_BORDER: ASS_OverrideBits
[src]
On dialogue events override: BorderStyle, Outline, Shadow
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_ALIGNMENT: ASS_OverrideBits
[src]
On dialogue events override: Alignment
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_MARGINS: ASS_OverrideBits
[src]
On dialogue events override: MarginL, MarginR, MarginV
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_FULL_STYLE: ASS_OverrideBits
[src]
Unconditionally replace all fields of all styles with the one provided with ass_set_selective_style_override(). Does not apply ASS_OVERRIDE_BIT_SELECTIVE_FONT_SCALE. Add ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS and ASS_OVERRIDE_BIT_BORDER if you want FontSize, Spacing, Outline, Shadow to be scaled to the script resolution given by the ASS_Track.
impl ASS_OverrideBits
[src]
pub const ASS_OVERRIDE_BIT_JUSTIFY: ASS_OverrideBits
[src]
On dialogue events override: Justify
Trait Implementations
impl PartialEq<ASS_OverrideBits> for ASS_OverrideBits
[src]
fn eq(&self, other: &ASS_OverrideBits) -> bool
[src]
fn ne(&self, other: &ASS_OverrideBits) -> bool
[src]
impl Copy for ASS_OverrideBits
[src]
impl Eq for ASS_OverrideBits
[src]
impl Clone for ASS_OverrideBits
[src]
fn clone(&self) -> ASS_OverrideBits
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for ASS_OverrideBits
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl BitAnd<ASS_OverrideBits> for ASS_OverrideBits
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, other: Self) -> Self
[src]
impl BitOr<ASS_OverrideBits> for ASS_OverrideBits
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, other: Self) -> Self
[src]
impl BitAndAssign<ASS_OverrideBits> for ASS_OverrideBits
[src]
fn bitand_assign(&mut self, rhs: ASS_OverrideBits)
[src]
impl BitOrAssign<ASS_OverrideBits> for ASS_OverrideBits
[src]
fn bitor_assign(&mut self, rhs: ASS_OverrideBits)
[src]
impl Debug for ASS_OverrideBits
[src]
Auto Trait Implementations
impl Send for ASS_OverrideBits
impl Unpin for ASS_OverrideBits
impl Sync for ASS_OverrideBits
impl UnwindSafe for ASS_OverrideBits
impl RefUnwindSafe for ASS_OverrideBits
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,