pub unsafe trait ToVoid<T> {
    // Required method
    fn to_void(&self) -> *const c_void;
}
Expand description

A trait describing how to convert from the stored *const c_void to the desired T

Required Methods§

Implementations on Foreign Types§

source§

impl ToVoid<*const c_void> for *const c_void

Implementors§

source§

impl ToVoid<CFArray> for CFArray

source§

impl ToVoid<CFArray> for CFArrayRef

source§

impl ToVoid<CFAttributedString> for CFAttributedString

source§

impl ToVoid<CFAttributedString> for CFAttributedStringRef

source§

impl ToVoid<CFMutableAttributedString> for CFMutableAttributedString

source§

impl ToVoid<CFMutableAttributedString> for CFMutableAttributedStringRef

source§

impl ToVoid<CFBoolean> for CFBoolean

source§

impl ToVoid<CFBoolean> for CFBooleanRef

source§

impl ToVoid<CFBundle> for CFBundle

source§

impl ToVoid<CFBundle> for CFBundleRef

source§

impl ToVoid<CFCharacterSet> for CFCharacterSet

source§

impl ToVoid<CFCharacterSet> for CFCharacterSetRef

source§

impl ToVoid<CFData> for CFData

source§

impl ToVoid<CFData> for CFDataRef

source§

impl ToVoid<CFDate> for CFDate

source§

impl ToVoid<CFDate> for CFDateRef

source§

impl ToVoid<CFDictionary> for CFDictionary

source§

impl ToVoid<CFDictionary> for CFDictionaryRef

source§

impl ToVoid<CFMutableDictionary> for CFMutableDictionary

source§

impl ToVoid<CFMutableDictionary> for CFMutableDictionaryRef

source§

impl ToVoid<CFError> for CFError

source§

impl ToVoid<CFError> for CFErrorRef

source§

impl ToVoid<CFFileDescriptor> for CFFileDescriptor

source§

impl ToVoid<CFFileDescriptor> for CFFileDescriptorRef

source§

impl ToVoid<CFMachPort> for CFMachPort

source§

impl ToVoid<CFMachPort> for CFMachPortRef

source§

impl ToVoid<CFNumber> for CFNumber

source§

impl ToVoid<CFNumber> for CFNumberRef

source§

impl ToVoid<CFRunLoop> for CFRunLoop

source§

impl ToVoid<CFRunLoop> for CFRunLoopRef

source§

impl ToVoid<CFRunLoopObserver> for CFRunLoopObserver

source§

impl ToVoid<CFRunLoopObserver> for CFRunLoopObserverRef

source§

impl ToVoid<CFRunLoopSource> for CFRunLoopSource

source§

impl ToVoid<CFRunLoopSource> for CFRunLoopSourceRef

source§

impl ToVoid<CFRunLoopTimer> for CFRunLoopTimer

source§

impl ToVoid<CFRunLoopTimer> for CFRunLoopTimerRef

source§

impl ToVoid<CFSet> for CFSet

source§

impl ToVoid<CFSet> for CFSetRef

source§

impl ToVoid<CFString> for CFString

source§

impl ToVoid<CFString> for CFStringRef

source§

impl ToVoid<CFTimeZone> for CFTimeZone

source§

impl ToVoid<CFTimeZone> for CFTimeZoneRef

source§

impl ToVoid<CFURL> for CFURL

source§

impl ToVoid<CFURL> for CFURLRef

source§

impl ToVoid<CFUUID> for CFUUID

source§

impl ToVoid<CFUUID> for CFUUIDRef

source§

impl ToVoid<CFAllocator> for CFAllocator

source§

impl ToVoid<CFAllocator> for CFAllocatorRef

source§

impl ToVoid<CFType> for CFType

source§

impl ToVoid<CFType> for CFTypeRef

source§

impl<'a> ToVoid<CFArray> for &'a CFArray

source§

impl<'a> ToVoid<CFAttributedString> for &'a CFAttributedString

source§

impl<'a> ToVoid<CFMutableAttributedString> for &'a CFMutableAttributedString

source§

impl<'a> ToVoid<CFBoolean> for &'a CFBoolean

source§

impl<'a> ToVoid<CFBundle> for &'a CFBundle

source§

impl<'a> ToVoid<CFCharacterSet> for &'a CFCharacterSet

source§

impl<'a> ToVoid<CFData> for &'a CFData

source§

impl<'a> ToVoid<CFDate> for &'a CFDate

source§

impl<'a> ToVoid<CFDictionary> for &'a CFDictionary

source§

impl<'a> ToVoid<CFMutableDictionary> for &'a CFMutableDictionary

source§

impl<'a> ToVoid<CFError> for &'a CFError

source§

impl<'a> ToVoid<CFFileDescriptor> for &'a CFFileDescriptor

source§

impl<'a> ToVoid<CFMachPort> for &'a CFMachPort

source§

impl<'a> ToVoid<CFNumber> for &'a CFNumber

source§

impl<'a> ToVoid<CFRunLoop> for &'a CFRunLoop

source§

impl<'a> ToVoid<CFRunLoopObserver> for &'a CFRunLoopObserver

source§

impl<'a> ToVoid<CFRunLoopSource> for &'a CFRunLoopSource

source§

impl<'a> ToVoid<CFRunLoopTimer> for &'a CFRunLoopTimer

source§

impl<'a> ToVoid<CFSet> for &'a CFSet

source§

impl<'a> ToVoid<CFString> for &'a CFString

source§

impl<'a> ToVoid<CFTimeZone> for &'a CFTimeZone

source§

impl<'a> ToVoid<CFURL> for &'a CFURL

source§

impl<'a> ToVoid<CFUUID> for &'a CFUUID

source§

impl<'a> ToVoid<CFAllocator> for &'a CFAllocator

source§

impl<'a> ToVoid<CFType> for &'a CFType