#[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,
}
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadExpand description
Requires BLOCK_HAS_COPY_DISPOSE and BLOCK_HAS_SIGNATURE
Fields§
§header: Block_descriptor_header
👎Deprecated:
§block-sys
is deprecated. Use block2::ffi
insteadcopy: Option<unsafe extern "C" fn(dst: *mut c_void, src: *mut c_void)>
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadSame as Block_descriptor::copy
.
dispose: Option<unsafe extern "C" fn(src: *mut c_void)>
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadSame as Block_descriptor::dispose
.
encoding: *const c_char
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadObjective-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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more