#[repr(C)]pub struct Block_descriptor_with_signature {
pub header: Block_descriptor_header,
pub copy: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>,
pub dispose: Option<unsafe extern "C" fn(src: *mut c_void)>,
pub encoding: *const c_char,
}
Expand description
Requires BLOCK_HAS_COPY_DISPOSE and BLOCK_HAS_SIGNATURE
Fields
header: Block_descriptor_header
copy: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>
Same as Block_descriptor::copy
.
dispose: Option<unsafe extern "C" fn(src: *mut c_void)>
Same as Block_descriptor::dispose
.
encoding: *const c_char
Objective-C type encoding of the block.
Auto Trait Implementations
impl RefUnwindSafe for Block_descriptor_with_signature
impl !Send for Block_descriptor_with_signature
impl !Sync for Block_descriptor_with_signature
impl Unpin for Block_descriptor_with_signature
impl UnwindSafe for Block_descriptor_with_signature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more