Struct core_foundation_sys::runloop::CFRunLoopSourceContext1[][src]

#[repr(C)]
pub struct CFRunLoopSourceContext1 { pub version: CFIndex, pub info: *mut c_void, pub retain: extern "C" fn(info: *const c_void) -> *const c_void, pub release: extern "C" fn(info: *const c_void), pub copyDescription: extern "C" fn(info: *const c_void) -> CFStringRef, pub equal: extern "C" fn(info1: *const c_void, info2: *const c_void) -> Boolean, pub hash: extern "C" fn(info: *const c_void) -> CFHashCode, pub getPort: extern "C" fn(info: *mut c_void) -> mach_port_t, pub perform: extern "C" fn(msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void, }

Fields

version: CFIndexinfo: *mut c_voidretain: extern "C" fn(info: *const c_void) -> *const c_voidrelease: extern "C" fn(info: *const c_void)copyDescription: extern "C" fn(info: *const c_void) -> CFStringRefequal: extern "C" fn(info1: *const c_void, info2: *const c_void) -> Booleanhash: extern "C" fn(info: *const c_void) -> CFHashCodegetPort: extern "C" fn(info: *mut c_void) -> mach_port_tperform: extern "C" fn(msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void

Auto Trait Implementations

impl RefUnwindSafe for CFRunLoopSourceContext1

impl !Send for CFRunLoopSourceContext1

impl !Sync for CFRunLoopSourceContext1

impl Unpin for CFRunLoopSourceContext1

impl UnwindSafe for CFRunLoopSourceContext1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.