#[repr(transparent)]pub struct AVCaptionTextAlignment(pub NSInteger);Available on crate feature
AVCaption only.Expand description
Alignment of a caption within the containing region.
Aligned to the start of inline progression direction; e.g. left in left-to-right writing mode and right in right-to-left writing mode.
Aligned to the end of inline progression direction; e.g. right in left-to-right writing mode and right in right-to-left writing mode.
Aligned at center in inline progression direction.
Aligned to left in horizontal writing mode or top in vertical writing mode.
Aligned to right in horizontal writing mode or bottom in vertical writing mode.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVCaptionTextAlignment
impl Clone for AVCaptionTextAlignment
Source§fn clone(&self) -> AVCaptionTextAlignment
fn clone(&self) -> AVCaptionTextAlignment
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 AVCaptionTextAlignment
impl Debug for AVCaptionTextAlignment
Source§impl Encode for AVCaptionTextAlignment
impl Encode for AVCaptionTextAlignment
Source§impl Hash for AVCaptionTextAlignment
impl Hash for AVCaptionTextAlignment
Source§impl Ord for AVCaptionTextAlignment
impl Ord for AVCaptionTextAlignment
Source§fn cmp(&self, other: &AVCaptionTextAlignment) -> Ordering
fn cmp(&self, other: &AVCaptionTextAlignment) -> 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 AVCaptionTextAlignment
impl PartialEq for AVCaptionTextAlignment
Source§impl PartialOrd for AVCaptionTextAlignment
impl PartialOrd for AVCaptionTextAlignment
Source§impl RefEncode for AVCaptionTextAlignment
impl RefEncode for AVCaptionTextAlignment
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 AVCaptionTextAlignment
impl Eq for AVCaptionTextAlignment
impl StructuralPartialEq for AVCaptionTextAlignment
Auto Trait Implementations§
impl Freeze for AVCaptionTextAlignment
impl RefUnwindSafe for AVCaptionTextAlignment
impl Send for AVCaptionTextAlignment
impl Sync for AVCaptionTextAlignment
impl Unpin for AVCaptionTextAlignment
impl UnwindSafe for AVCaptionTextAlignment
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.