Struct core_video::buffer::CVBuffer
source · pub struct CVBuffer(/* private fields */);Implementations§
source§impl CVBuffer
impl CVBuffer
pub fn as_concrete_TypeRef(&self) -> CVBufferRef
pub fn as_CFType(&self) -> CFType
pub fn as_CFTypeRef(&self) -> CFTypeRef
pub fn into_CFType(self) -> CFType
pub unsafe fn wrap_under_create_rule(reference: CVBufferRef) -> CVBuffer
pub unsafe fn wrap_under_get_rule(reference: CVBufferRef) -> CVBuffer
pub fn type_of(&self) -> CFTypeID
pub fn instance_of<T: TCFType>(&self) -> bool
source§impl CVBuffer
impl CVBuffer
pub fn set_attachment( &self, key: &CFString, value: &CFType, attachment_mode: CVAttachmentMode, )
pub fn get_attachment( &self, key: &CFString, attachment_mode: &mut CVAttachmentMode, ) -> Option<CFType>
pub fn remove_attachment(&self, key: &CFString)
pub fn remove_all_attachments(&self)
pub fn get_attachments( &self, attachment_mode: CVAttachmentMode, ) -> Option<CFDictionary<CFString, CFType>>
pub fn set_attachments( &self, the_attachments: &CFDictionary<CFString, CFType>, attachment_mode: CVAttachmentMode, )
pub fn propagate_attachments(&self, destination_buffer: &CVBuffer)
pub fn copy_attachments( &self, attachment_mode: &mut CVAttachmentMode, ) -> Option<CFDictionary<CFString, CFType>>
pub fn copy_attachment( &self, key: &CFString, attachment_mode: &mut CVAttachmentMode, ) -> Option<CFType>
pub fn has_attachment(&self, key: &CFString) -> bool
Trait Implementations§
impl Eq for CVBuffer
Auto Trait Implementations§
impl Freeze for CVBuffer
impl RefUnwindSafe for CVBuffer
impl !Send for CVBuffer
impl !Sync for CVBuffer
impl Unpin for CVBuffer
impl UnwindSafe for CVBuffer
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)