pub struct RttiType {
pub tag: EightCC,
pub name: String,
pub rc: bool,
pub weak: bool,
pub ctrl_tag: Option<EightCC>,
pub ondisk_size: u64,
pub body: RttiBody,
}Expand description
A parsed type descriptor. Structure only — mutable class-variable values are read live from the stack, never cached here.
Fields§
§tag: EightCC§name: String§rc: boolTarget has an inline refcount (rc mode) — how a Strong field to it is
bumped on clone.
weak: boolTarget has a control block (rc, weak mode).
ctrl_tag: Option<EightCC>The control block’s tag (Some iff weak) — persisted so swap can confirm
a weak target’s control block directly by its header tag, not only via its
forward data pointer.
ondisk_size: u64§body: RttiBodyTrait Implementations§
impl StructuralPartialEq for RttiType
Auto Trait Implementations§
impl Freeze for RttiType
impl RefUnwindSafe for RttiType
impl Send for RttiType
impl Sync for RttiType
impl Unpin for RttiType
impl UnsafeUnpin for RttiType
impl UnwindSafe for RttiType
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