pub struct TInfo { /* private fields */ }Expand description
The SDK’s tinfo_t, an opaque type-info handle handled only behind indirection (&TInfo or UniquePtr<TInfo>).
Trait Implementations§
Source§impl ExternType for TInfo
The type id names the real SDK class tinfo_t; Opaque is correct because tinfo_t has a nontrivial copy-ctor and destructor, so it may only cross the bridge behind a reference or UniquePtr, never by value. The UniquePtr’s cxx deleter runs ~tinfo_t, matching the raw handle’s free.
impl ExternType for TInfo
The type id names the real SDK class tinfo_t; Opaque is correct because tinfo_t has a nontrivial copy-ctor and destructor, so it may only cross the bridge behind a reference or UniquePtr, never by value. The UniquePtr’s cxx deleter runs ~tinfo_t, matching the raw handle’s free.
impl UniquePtrTarget for TInfo
Auto Trait Implementations§
impl !Freeze for TInfo
impl !Send for TInfo
impl !Sync for TInfo
impl !Unpin for TInfo
impl RefUnwindSafe for TInfo
impl UnsafeUnpin for TInfo
impl UnwindSafe for TInfo
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