#[repr(transparent)]pub struct VTable<T> {
pub ptr: *const T,
}
Expand description
Wrapper for the C++ VTable member of a COM object.
When you’re using #[derive(ComImpl)]
, this should be the first member of your struct.
Fields§
§ptr: *const T
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for VTable<T>
impl<T> RefUnwindSafe for VTable<T>where
T: RefUnwindSafe,
impl<T> !Send for VTable<T>
impl<T> !Sync for VTable<T>
impl<T> Unpin for VTable<T>
impl<T> UnwindSafe for VTable<T>where
T: RefUnwindSafe,
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