pub struct VTSession(/* private fields */);Implementations§
Source§impl VTSession
impl VTSession
pub fn as_concrete_TypeRef(&self) -> VTSessionRef
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: VTSessionRef) -> VTSession
pub unsafe fn wrap_under_get_rule(reference: VTSessionRef) -> VTSession
pub fn type_of(&self) -> CFTypeID
pub fn instance_of<T: TCFType>(&self) -> bool
Source§impl VTSession
impl VTSession
pub fn downcast<T: TVTSession>(&self) -> Option<T>
pub fn downcast_into<T: TVTSession>(self) -> Option<T>
Source§impl VTSession
impl VTSession
pub fn copy_supported_property_dictionary( &self, ) -> Result<CFDictionary<CFString, CFType>, OSStatus>
pub fn copy_property(&self, property_key: CFString) -> Result<CFType, OSStatus>
pub fn copy_serializable_properties( &self, ) -> Result<CFDictionary<CFString, CFType>, OSStatus>
pub fn set_property( &self, property_key: CFString, property_value: CFType, ) -> Result<(), OSStatus>
pub fn set_properties( &self, property_dictionary: &CFDictionary<CFString, CFType>, ) -> Result<(), OSStatus>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VTSession
impl RefUnwindSafe for VTSession
impl !Send for VTSession
impl !Sync for VTSession
impl Unpin for VTSession
impl UnwindSafe for VTSession
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