#[repr(transparent)]pub struct AVCaptionUnitsType(pub NSInteger);Available on crate feature
AVCaption only.Expand description
Geometry unit.
Some geometric objects are positioned or sized with different kinds of dimensions differeing in unit. In some cases, an object might allow multiple kinds of dimensions varrying by units. AVCaptionUnitsType is an enumeration of kinds of units that are used across caption formats.
The units has not been specified. The dimension can be seen as invalid.
The integer value is a number of cells.
The floating-point value number value is [0 .. 100] correspondng to 0% to 100%, typically relative to the enclosing rectangle.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVCaptionUnitsType
impl Clone for AVCaptionUnitsType
Source§fn clone(&self) -> AVCaptionUnitsType
fn clone(&self) -> AVCaptionUnitsType
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 AVCaptionUnitsType
impl Debug for AVCaptionUnitsType
Source§impl Encode for AVCaptionUnitsType
impl Encode for AVCaptionUnitsType
Source§impl Hash for AVCaptionUnitsType
impl Hash for AVCaptionUnitsType
Source§impl Ord for AVCaptionUnitsType
impl Ord for AVCaptionUnitsType
Source§fn cmp(&self, other: &AVCaptionUnitsType) -> Ordering
fn cmp(&self, other: &AVCaptionUnitsType) -> 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 AVCaptionUnitsType
impl PartialEq for AVCaptionUnitsType
Source§impl PartialOrd for AVCaptionUnitsType
impl PartialOrd for AVCaptionUnitsType
Source§impl RefEncode for AVCaptionUnitsType
impl RefEncode for AVCaptionUnitsType
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 AVCaptionUnitsType
impl Eq for AVCaptionUnitsType
impl StructuralPartialEq for AVCaptionUnitsType
Auto Trait Implementations§
impl Freeze for AVCaptionUnitsType
impl RefUnwindSafe for AVCaptionUnitsType
impl Send for AVCaptionUnitsType
impl Sync for AVCaptionUnitsType
impl Unpin for AVCaptionUnitsType
impl UnwindSafe for AVCaptionUnitsType
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.