Struct StaticComObject
pub struct StaticComObject<T>where
T: ComObjectInner,{ /* private fields */ }Expand description
Stores a COM object in static memory.
Its reference count starts at one and tracks owned interface references.
Implementations§
§impl<T> StaticComObject<T>where
T: ComObjectInner,
impl<T> StaticComObject<T>where
T: ComObjectInner,
pub const fn from_outer(outer: T::Outer) -> Self
pub const fn from_outer(outer: T::Outer) -> Self
Wraps outer in a StaticComObject.
§impl<T> StaticComObject<T>where
T: ComObjectInner,
impl<T> StaticComObject<T>where
T: ComObjectInner,
Trait Implementations§
§impl<T> Deref for StaticComObject<T>where
T: ComObjectInner,
impl<T> Deref for StaticComObject<T>where
T: ComObjectInner,
Auto Trait Implementations§
impl<T> Freeze for StaticComObject<T>
impl<T> RefUnwindSafe for StaticComObject<T>
impl<T> Send for StaticComObject<T>
impl<T> Sync for StaticComObject<T>
impl<T> Unpin for StaticComObject<T>
impl<T> UnsafeUnpin for StaticComObject<T>
impl<T> UnwindSafe for StaticComObject<T>
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