#[repr(C)]pub struct AVCaptionPoint {
pub x: AVCaptionDimension,
pub y: AVCaptionDimension,
}Available on crate features
AVCaption and objc2-core-foundation only.Expand description
A two dimensional point made of x and y AVCaptionDimension coordinates Field: x An AVCaptionDimension holding the x coordinate of the point Field: y An AVCaptionDimension holding the y coordinate of the point
See also Apple’s documentation
Fields§
§x: AVCaptionDimension§y: AVCaptionDimensionImplementations§
Source§impl AVCaptionPoint
impl AVCaptionPoint
Sourcepub unsafe fn new(
x: AVCaptionDimension,
y: AVCaptionDimension,
) -> AVCaptionPoint
pub unsafe fn new( x: AVCaptionDimension, y: AVCaptionDimension, ) -> AVCaptionPoint
Makes an AVCaptionPoint from x and y coordinate AVCaptionDimensions.
Trait Implementations§
Source§impl Clone for AVCaptionPoint
impl Clone for AVCaptionPoint
Source§fn clone(&self) -> AVCaptionPoint
fn clone(&self) -> AVCaptionPoint
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 AVCaptionPoint
impl Debug for AVCaptionPoint
Source§impl Encode for AVCaptionPoint
impl Encode for AVCaptionPoint
Source§impl PartialEq for AVCaptionPoint
impl PartialEq for AVCaptionPoint
Source§impl RefEncode for AVCaptionPoint
impl RefEncode for AVCaptionPoint
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 AVCaptionPoint
impl StructuralPartialEq for AVCaptionPoint
Auto Trait Implementations§
impl Freeze for AVCaptionPoint
impl RefUnwindSafe for AVCaptionPoint
impl Send for AVCaptionPoint
impl Sync for AVCaptionPoint
impl Unpin for AVCaptionPoint
impl UnwindSafe for AVCaptionPoint
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.