#[repr(transparent)]pub struct AVCaptionRegionDisplayAlignment(pub NSInteger);AVCaption only.Expand description
Choices for region display alignment
Whenever a caption line is inserted into a region, it’s placed relative to the existing lines and the direction to which the line is placed is called the block progression direction of the region. For example, English caption’s block progression direction is top-to-bottom, while Japanese vertical caption uses right-to-left.
The value describes how the caption lines should positioned in a region in terms of the block progression direction.
Align lines in earlier position in the block progression direction, or align to the top for English captions, for example.
Align lines in center position in the block progression direction. iTT doesn’t support this.
Align lines in later position in the block progression direction, or align to the left for Japanese vertical captions, for example.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVCaptionRegionDisplayAlignment
impl Clone for AVCaptionRegionDisplayAlignment
Source§fn clone(&self) -> AVCaptionRegionDisplayAlignment
fn clone(&self) -> AVCaptionRegionDisplayAlignment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for AVCaptionRegionDisplayAlignment
impl Ord for AVCaptionRegionDisplayAlignment
Source§fn cmp(&self, other: &AVCaptionRegionDisplayAlignment) -> Ordering
fn cmp(&self, other: &AVCaptionRegionDisplayAlignment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AVCaptionRegionDisplayAlignment
impl PartialEq for AVCaptionRegionDisplayAlignment
Source§fn eq(&self, other: &AVCaptionRegionDisplayAlignment) -> bool
fn eq(&self, other: &AVCaptionRegionDisplayAlignment) -> bool
self and other values to be equal, and is used by ==.