pub struct BSTSingletonSDM<T, A = BSTSingletonSDMOpStaticBuffer<T>> {
pub __base: BSTSingletonSDMBase<T, A>,
pub address: u8,
}
Expand description
This is used when the inherited class does not enable Empty Base Optimization and a u8 address is allocated.
If Empty Base Optimization works, it should be omitted. (Otherwise, the memory layout will not match.)
Fields§
§__base: BSTSingletonSDMBase<T, A>
§address: u8
C++ Empty class unique address.
Auto Trait Implementations§
impl<T, A> Freeze for BSTSingletonSDM<T, A>where
A: Freeze,
impl<T, A> RefUnwindSafe for BSTSingletonSDM<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Send for BSTSingletonSDM<T, A>
impl<T, A> Sync for BSTSingletonSDM<T, A>
impl<T, A> Unpin for BSTSingletonSDM<T, A>
impl<T, A> UnwindSafe for BSTSingletonSDM<T, A>where
A: UnwindSafe,
T: UnwindSafe,
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