#[repr(C)]pub struct VTPixelRotationSession { /* private fields */ }VTPixelRotationSession only.Expand description
A reference to a Video Toolbox Pixel Rotation Session.
A pixel rotation session supports the rotating of images from source CVPixelBuffers to destination CVPixelBuffers. The session reference is a reference-counted CF object. To create an image rotation session, call VTPixelRotationSessionCreate; then you can optionally configure the session using VTSessionSetProperty; then to transfer pixels, call VTPixelRotationSessionRotateImage. When you are done with the session, you should call CFRelease to tear it down and release your object reference.
See also Apple’s documentation
Methods from Deref<Target = CFType>§
Sourcepub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
Available on crate feature VTSession only.
pub fn downcast_ref<T>(&self) -> Option<&T>where
T: ConcreteType,
VTSession only.Attempt to downcast the type to that of type T.
This is the reference-variant. Use CFRetained::downcast if you
want to convert a retained type. See also ConcreteType for more
details on which types support being converted to.