[−][src]Trait core_foundation::base::TCFType
All Core Foundation types implement this trait. The associated type Ref
specifies the
associated Core Foundation type: e.g. for CFType
this is CFTypeRef
; for CFArray
this is
CFArrayRef
.
Associated Types
type Ref: TCFTypeRef
The reference type wrapped inside this type.
Required Methods
fn as_concrete_TypeRef(&self) -> Self::Ref
Returns the object as its concrete TypeRef.
unsafe fn wrap_under_create_rule(obj: Self::Ref) -> Self
Returns an instance of the object, wrapping the underlying CFTypeRef
subclass. Use this
when following Core Foundation's "Create Rule". The reference count is not bumped.
fn type_id() -> CFTypeID
Returns the type ID for this class.
fn as_CFTypeRef(&self) -> CFTypeRef
Returns the object as a raw CFTypeRef
. The reference count is not adjusted.
unsafe fn wrap_under_get_rule(reference: Self::Ref) -> Self
Returns an instance of the object, wrapping the underlying CFTypeRef
subclass. Use this
when following Core Foundation's "Get Rule". The reference count is bumped.
Provided Methods
fn as_CFType(&self) -> CFType
Returns the object as a wrapped CFType
. The reference count is incremented by one.
fn into_CFType(self) -> CFType where
Self: Sized,
Self: Sized,
Returns the object as a wrapped CFType
. Consumes self and avoids changing the reference
count.
fn retain_count(&self) -> CFIndex
Returns the reference count of the object. It is unwise to do anything other than test whether the return value of this method is greater than zero.
fn type_of(&self) -> CFTypeID
Returns the type ID of this object.
fn show(&self)
Writes a debugging version of this object on standard error.
fn instance_of<OtherCFType: TCFType>(&self) -> bool
Returns true if this value is an instance of another type.
Implementors
impl TCFType for CFAllocator
[src]
impl TCFType for CFAllocator
type Ref = CFAllocatorRef
fn as_concrete_TypeRef(&self) -> CFAllocatorRef
[src]
fn as_concrete_TypeRef(&self) -> CFAllocatorRef
unsafe fn wrap_under_get_rule(reference: CFAllocatorRef) -> CFAllocator
[src]
unsafe fn wrap_under_get_rule(reference: CFAllocatorRef) -> CFAllocator
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFAllocatorRef) -> CFAllocator
[src]
unsafe fn wrap_under_create_rule(reference: CFAllocatorRef) -> CFAllocator
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFType
[src]
impl TCFType for CFType
type Ref = CFTypeRef
fn as_concrete_TypeRef(&self) -> CFTypeRef
[src]
fn as_concrete_TypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_get_rule(reference: CFTypeRef) -> CFType
[src]
unsafe fn wrap_under_get_rule(reference: CFTypeRef) -> CFType
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(obj: CFTypeRef) -> CFType
[src]
unsafe fn wrap_under_create_rule(obj: CFTypeRef) -> CFType
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFBoolean
[src]
impl TCFType for CFBoolean
type Ref = CFBooleanRef
fn as_concrete_TypeRef(&self) -> CFBooleanRef
[src]
fn as_concrete_TypeRef(&self) -> CFBooleanRef
unsafe fn wrap_under_get_rule(reference: CFBooleanRef) -> CFBoolean
[src]
unsafe fn wrap_under_get_rule(reference: CFBooleanRef) -> CFBoolean
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFBooleanRef) -> CFBoolean
[src]
unsafe fn wrap_under_create_rule(reference: CFBooleanRef) -> CFBoolean
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFBundle
[src]
impl TCFType for CFBundle
type Ref = CFBundleRef
fn as_concrete_TypeRef(&self) -> CFBundleRef
[src]
fn as_concrete_TypeRef(&self) -> CFBundleRef
unsafe fn wrap_under_get_rule(reference: CFBundleRef) -> CFBundle
[src]
unsafe fn wrap_under_get_rule(reference: CFBundleRef) -> CFBundle
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFBundleRef) -> CFBundle
[src]
unsafe fn wrap_under_create_rule(reference: CFBundleRef) -> CFBundle
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFData
[src]
impl TCFType for CFData
type Ref = CFDataRef
fn as_concrete_TypeRef(&self) -> CFDataRef
[src]
fn as_concrete_TypeRef(&self) -> CFDataRef
unsafe fn wrap_under_get_rule(reference: CFDataRef) -> CFData
[src]
unsafe fn wrap_under_get_rule(reference: CFDataRef) -> CFData
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFDataRef) -> CFData
[src]
unsafe fn wrap_under_create_rule(reference: CFDataRef) -> CFData
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFDate
[src]
impl TCFType for CFDate
type Ref = CFDateRef
fn as_concrete_TypeRef(&self) -> CFDateRef
[src]
fn as_concrete_TypeRef(&self) -> CFDateRef
unsafe fn wrap_under_get_rule(reference: CFDateRef) -> CFDate
[src]
unsafe fn wrap_under_get_rule(reference: CFDateRef) -> CFDate
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFDateRef) -> CFDate
[src]
unsafe fn wrap_under_create_rule(reference: CFDateRef) -> CFDate
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFDictionary
[src]
impl TCFType for CFDictionary
type Ref = CFDictionaryRef
fn as_concrete_TypeRef(&self) -> CFDictionaryRef
[src]
fn as_concrete_TypeRef(&self) -> CFDictionaryRef
unsafe fn wrap_under_get_rule(reference: CFDictionaryRef) -> CFDictionary
[src]
unsafe fn wrap_under_get_rule(reference: CFDictionaryRef) -> CFDictionary
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFDictionaryRef) -> CFDictionary
[src]
unsafe fn wrap_under_create_rule(reference: CFDictionaryRef) -> CFDictionary
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFMutableDictionary
[src]
impl TCFType for CFMutableDictionary
type Ref = CFMutableDictionaryRef
fn as_concrete_TypeRef(&self) -> CFMutableDictionaryRef
[src]
fn as_concrete_TypeRef(&self) -> CFMutableDictionaryRef
unsafe fn wrap_under_get_rule(
reference: CFMutableDictionaryRef
) -> CFMutableDictionary
[src]
unsafe fn wrap_under_get_rule(
reference: CFMutableDictionaryRef
) -> CFMutableDictionary
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(
reference: CFMutableDictionaryRef
) -> CFMutableDictionary
[src]
unsafe fn wrap_under_create_rule(
reference: CFMutableDictionaryRef
) -> CFMutableDictionary
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFError
[src]
impl TCFType for CFError
type Ref = CFErrorRef
fn as_concrete_TypeRef(&self) -> CFErrorRef
[src]
fn as_concrete_TypeRef(&self) -> CFErrorRef
unsafe fn wrap_under_get_rule(reference: CFErrorRef) -> CFError
[src]
unsafe fn wrap_under_get_rule(reference: CFErrorRef) -> CFError
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFErrorRef) -> CFError
[src]
unsafe fn wrap_under_create_rule(reference: CFErrorRef) -> CFError
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFFileDescriptor
[src]
impl TCFType for CFFileDescriptor
type Ref = CFFileDescriptorRef
fn as_concrete_TypeRef(&self) -> CFFileDescriptorRef
[src]
fn as_concrete_TypeRef(&self) -> CFFileDescriptorRef
unsafe fn wrap_under_get_rule(
reference: CFFileDescriptorRef
) -> CFFileDescriptor
[src]
unsafe fn wrap_under_get_rule(
reference: CFFileDescriptorRef
) -> CFFileDescriptor
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(
reference: CFFileDescriptorRef
) -> CFFileDescriptor
[src]
unsafe fn wrap_under_create_rule(
reference: CFFileDescriptorRef
) -> CFFileDescriptor
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFNumber
[src]
impl TCFType for CFNumber
type Ref = CFNumberRef
fn as_concrete_TypeRef(&self) -> CFNumberRef
[src]
fn as_concrete_TypeRef(&self) -> CFNumberRef
unsafe fn wrap_under_get_rule(reference: CFNumberRef) -> CFNumber
[src]
unsafe fn wrap_under_get_rule(reference: CFNumberRef) -> CFNumber
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFNumberRef) -> CFNumber
[src]
unsafe fn wrap_under_create_rule(reference: CFNumberRef) -> CFNumber
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFRunLoop
[src]
impl TCFType for CFRunLoop
type Ref = CFRunLoopRef
fn as_concrete_TypeRef(&self) -> CFRunLoopRef
[src]
fn as_concrete_TypeRef(&self) -> CFRunLoopRef
unsafe fn wrap_under_get_rule(reference: CFRunLoopRef) -> CFRunLoop
[src]
unsafe fn wrap_under_get_rule(reference: CFRunLoopRef) -> CFRunLoop
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFRunLoopRef) -> CFRunLoop
[src]
unsafe fn wrap_under_create_rule(reference: CFRunLoopRef) -> CFRunLoop
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFRunLoopObserver
[src]
impl TCFType for CFRunLoopObserver
type Ref = CFRunLoopObserverRef
fn as_concrete_TypeRef(&self) -> CFRunLoopObserverRef
[src]
fn as_concrete_TypeRef(&self) -> CFRunLoopObserverRef
unsafe fn wrap_under_get_rule(
reference: CFRunLoopObserverRef
) -> CFRunLoopObserver
[src]
unsafe fn wrap_under_get_rule(
reference: CFRunLoopObserverRef
) -> CFRunLoopObserver
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(
reference: CFRunLoopObserverRef
) -> CFRunLoopObserver
[src]
unsafe fn wrap_under_create_rule(
reference: CFRunLoopObserverRef
) -> CFRunLoopObserver
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFRunLoopSource
[src]
impl TCFType for CFRunLoopSource
type Ref = CFRunLoopSourceRef
fn as_concrete_TypeRef(&self) -> CFRunLoopSourceRef
[src]
fn as_concrete_TypeRef(&self) -> CFRunLoopSourceRef
unsafe fn wrap_under_get_rule(reference: CFRunLoopSourceRef) -> CFRunLoopSource
[src]
unsafe fn wrap_under_get_rule(reference: CFRunLoopSourceRef) -> CFRunLoopSource
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(
reference: CFRunLoopSourceRef
) -> CFRunLoopSource
[src]
unsafe fn wrap_under_create_rule(
reference: CFRunLoopSourceRef
) -> CFRunLoopSource
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFRunLoopTimer
[src]
impl TCFType for CFRunLoopTimer
type Ref = CFRunLoopTimerRef
fn as_concrete_TypeRef(&self) -> CFRunLoopTimerRef
[src]
fn as_concrete_TypeRef(&self) -> CFRunLoopTimerRef
unsafe fn wrap_under_get_rule(reference: CFRunLoopTimerRef) -> CFRunLoopTimer
[src]
unsafe fn wrap_under_get_rule(reference: CFRunLoopTimerRef) -> CFRunLoopTimer
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFRunLoopTimerRef) -> CFRunLoopTimer
[src]
unsafe fn wrap_under_create_rule(reference: CFRunLoopTimerRef) -> CFRunLoopTimer
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFSet
[src]
impl TCFType for CFSet
type Ref = CFSetRef
fn as_concrete_TypeRef(&self) -> CFSetRef
[src]
fn as_concrete_TypeRef(&self) -> CFSetRef
unsafe fn wrap_under_get_rule(reference: CFSetRef) -> CFSet
[src]
unsafe fn wrap_under_get_rule(reference: CFSetRef) -> CFSet
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFSetRef) -> CFSet
[src]
unsafe fn wrap_under_create_rule(reference: CFSetRef) -> CFSet
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFString
[src]
impl TCFType for CFString
type Ref = CFStringRef
fn as_concrete_TypeRef(&self) -> CFStringRef
[src]
fn as_concrete_TypeRef(&self) -> CFStringRef
unsafe fn wrap_under_get_rule(reference: CFStringRef) -> CFString
[src]
unsafe fn wrap_under_get_rule(reference: CFStringRef) -> CFString
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFStringRef) -> CFString
[src]
unsafe fn wrap_under_create_rule(reference: CFStringRef) -> CFString
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFTimeZone
[src]
impl TCFType for CFTimeZone
type Ref = CFTimeZoneRef
fn as_concrete_TypeRef(&self) -> CFTimeZoneRef
[src]
fn as_concrete_TypeRef(&self) -> CFTimeZoneRef
unsafe fn wrap_under_get_rule(reference: CFTimeZoneRef) -> CFTimeZone
[src]
unsafe fn wrap_under_get_rule(reference: CFTimeZoneRef) -> CFTimeZone
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFTimeZoneRef) -> CFTimeZone
[src]
unsafe fn wrap_under_create_rule(reference: CFTimeZoneRef) -> CFTimeZone
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFURL
[src]
impl TCFType for CFURL
type Ref = CFURLRef
fn as_concrete_TypeRef(&self) -> CFURLRef
[src]
fn as_concrete_TypeRef(&self) -> CFURLRef
unsafe fn wrap_under_get_rule(reference: CFURLRef) -> CFURL
[src]
unsafe fn wrap_under_get_rule(reference: CFURLRef) -> CFURL
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFURLRef) -> CFURL
[src]
unsafe fn wrap_under_create_rule(reference: CFURLRef) -> CFURL
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl TCFType for CFUUID
[src]
impl TCFType for CFUUID
type Ref = CFUUIDRef
fn as_concrete_TypeRef(&self) -> CFUUIDRef
[src]
fn as_concrete_TypeRef(&self) -> CFUUIDRef
unsafe fn wrap_under_get_rule(reference: CFUUIDRef) -> CFUUID
[src]
unsafe fn wrap_under_get_rule(reference: CFUUIDRef) -> CFUUID
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(reference: CFUUIDRef) -> CFUUID
[src]
unsafe fn wrap_under_create_rule(reference: CFUUIDRef) -> CFUUID
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool
impl<T> TCFType for CFArray<T>
[src]
impl<T> TCFType for CFArray<T>
type Ref = CFArrayRef
fn as_concrete_TypeRef(&self) -> CFArrayRef
[src]
fn as_concrete_TypeRef(&self) -> CFArrayRef
unsafe fn wrap_under_get_rule(reference: CFArrayRef) -> CFArray<T>
[src]
unsafe fn wrap_under_get_rule(reference: CFArrayRef) -> CFArray<T>
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
unsafe fn wrap_under_create_rule(obj: CFArrayRef) -> CFArray<T>
[src]
unsafe fn wrap_under_create_rule(obj: CFArrayRef) -> CFArray<T>
fn type_id() -> CFTypeID
[src]
fn type_id() -> CFTypeID
fn as_CFType(&self) -> CFType
[src]
fn as_CFType(&self) -> CFType
fn into_CFType(self) -> CFType where
Self: Sized,
[src]
fn into_CFType(self) -> CFType where
Self: Sized,
fn retain_count(&self) -> CFIndex
[src]
fn retain_count(&self) -> CFIndex
fn type_of(&self) -> CFTypeID
[src]
fn type_of(&self) -> CFTypeID
fn show(&self)
[src]
fn show(&self)
fn instance_of<OtherCFType: TCFType>(&self) -> bool
[src]
fn instance_of<OtherCFType: TCFType>(&self) -> bool