#[repr(transparent)]pub struct AVCaptionTextCombine(pub NSInteger);Available on crate feature
AVCaption only.Expand description
Choices for text combine.
Text combine is a special rendering policy to combine multiple characters into one unit and present it in upright position in a vertical text flow in order to accomplish so-called “Tate-Chu-Yoko” layout, or horizontal-in-vertical layout.
For example, it can be used to render “2017” horizontally in a vertical text.
Don’t combine text upright. It is the same as not specifying the style.
Combine all the characters.
Make one digit upright.
Combine two consecutive digits
Combine three consecutive digits
Combine four consecutive digits
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVCaptionTextCombine
impl Clone for AVCaptionTextCombine
Source§fn clone(&self) -> AVCaptionTextCombine
fn clone(&self) -> AVCaptionTextCombine
Returns a duplicate 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 AVCaptionTextCombine
impl Debug for AVCaptionTextCombine
Source§impl Encode for AVCaptionTextCombine
impl Encode for AVCaptionTextCombine
Source§impl Hash for AVCaptionTextCombine
impl Hash for AVCaptionTextCombine
Source§impl Ord for AVCaptionTextCombine
impl Ord for AVCaptionTextCombine
Source§fn cmp(&self, other: &AVCaptionTextCombine) -> Ordering
fn cmp(&self, other: &AVCaptionTextCombine) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVCaptionTextCombine
impl PartialEq for AVCaptionTextCombine
Source§impl PartialOrd for AVCaptionTextCombine
impl PartialOrd for AVCaptionTextCombine
Source§impl RefEncode for AVCaptionTextCombine
impl RefEncode for AVCaptionTextCombine
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for AVCaptionTextCombine
impl Eq for AVCaptionTextCombine
impl StructuralPartialEq for AVCaptionTextCombine
Auto Trait Implementations§
impl Freeze for AVCaptionTextCombine
impl RefUnwindSafe for AVCaptionTextCombine
impl Send for AVCaptionTextCombine
impl Sync for AVCaptionTextCombine
impl Unpin for AVCaptionTextCombine
impl UnwindSafe for AVCaptionTextCombine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.