#[repr(C)]
pub struct Block_byref_header { pub isa: *const Class, pub forwarding: *mut Block_byref_header, pub flags: block_flags, pub size: u32, }
Expand description

Structure used for on-stack variables that are referenced by blocks.

Fields

isa: *const Class

Class pointer. Currently unused on GNUStep and always NULL. Could be used in the future to support introspection.

forwarding: *mut Block_byref_header

The 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

Flags and reference count.

TODO: Volatile!

size: u32
Available on crate feature apple only.

Size of this structure.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.