[−][src]Struct core_foundation_sys::runloop::CFRunLoopSourceContext1
#[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: CFIndex
info: *mut c_void
retain: extern "C" fn(info: *const c_void) -> *const c_void
release: extern "C" fn(info: *const c_void)
copyDescription: extern "C" fn(info: *const c_void) -> CFStringRef
equal: extern "C" fn(info1: *const c_void, info2: *const c_void) -> Boolean
hash: extern "C" fn(info: *const c_void) -> CFHashCode
getPort: extern "C" fn(info: *mut c_void) -> mach_port_t
perform: extern "C" fn(msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void
Auto Trait Implementations
impl !Send for CFRunLoopSourceContext1
impl !Send for CFRunLoopSourceContext1
impl !Sync for CFRunLoopSourceContext1
impl !Sync for CFRunLoopSourceContext1
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more