Struct block_sys::Block_byref_header
source · #[repr(C)]pub struct Block_byref_header {
pub isa: *const Class,
pub forwarding: *mut Block_byref_header,
pub flags: block_flags,
pub size: u32,
}
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadExpand description
Structure used for on-stack variables that are referenced by blocks.
Fields§
§isa: *const Class
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadClass pointer. Currently unused on GNUStep and always NULL. Could be used in the future to support introspection.
forwarding: *mut Block_byref_header
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadThe pointer to the structure that contains the real version of the data. All accesses go via this pointer. If an on-stack byref structure is copied to the heap, then its forwarding pointer should point to the heap version. Otherwise it should point to itself.
flags: block_flags
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadFlags and reference count.
TODO: Volatile!
size: u32
👎Deprecated:
block-sys
is deprecated. Use block2::ffi
insteadAvailable on crate feature
apple
only.Size of this structure.
Auto Trait Implementations§
impl !RefUnwindSafe for Block_byref_header
impl !Send for Block_byref_header
impl !Sync for Block_byref_header
impl Unpin for Block_byref_header
impl !UnwindSafe for Block_byref_header
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