objc2_video_toolbox/generated/
VTBase.rs1#[cfg(feature = "objc2")]
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8#[repr(C)]
10#[derive(Clone, Copy, Debug, PartialEq)]
11pub struct VTInt32Point {
12 pub x: i32,
13 pub y: i32,
14}
15
16#[cfg(feature = "objc2")]
17unsafe impl Encode for VTInt32Point {
18 const ENCODING: Encoding =
19 Encoding::Struct("VTInt32Point", &[<i32>::ENCODING, <i32>::ENCODING]);
20}
21
22#[cfg(feature = "objc2")]
23unsafe impl RefEncode for VTInt32Point {
24 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
25}
26
27#[repr(C)]
29#[derive(Clone, Copy, Debug, PartialEq)]
30pub struct VTInt32Size {
31 pub width: i32,
32 pub height: i32,
33}
34
35#[cfg(feature = "objc2")]
36unsafe impl Encode for VTInt32Size {
37 const ENCODING: Encoding = Encoding::Struct("VTInt32Size", &[<i32>::ENCODING, <i32>::ENCODING]);
38}
39
40#[cfg(feature = "objc2")]
41unsafe impl RefEncode for VTInt32Size {
42 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
43}