Struct windows_core::AgileReference
pub struct AgileReference<T>(/* private fields */);
Expand description
A type representing an agile reference to a COM/WinRT object.
Implementations§
Trait Implementations§
§impl<T: Clone> Clone for AgileReference<T>
impl<T: Clone> Clone for AgileReference<T>
§fn clone(&self) -> AgileReference<T>
fn clone(&self) -> AgileReference<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl<T> Debug for AgileReference<T>
impl<T> Debug for AgileReference<T>
§impl<T: PartialEq> PartialEq for AgileReference<T>
impl<T: PartialEq> PartialEq for AgileReference<T>
§fn eq(&self, other: &AgileReference<T>) -> bool
fn eq(&self, other: &AgileReference<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for AgileReference<T>
impl<T: Interface> Send for AgileReference<T>
impl<T> StructuralPartialEq for AgileReference<T>
impl<T: Interface> Sync for AgileReference<T>
Auto Trait Implementations§
impl<T> Freeze for AgileReference<T>
impl<T> RefUnwindSafe for AgileReference<T>where
T: RefUnwindSafe,
impl<T> Unpin for AgileReference<T>where
T: Unpin,
impl<T> UnwindSafe for AgileReference<T>where
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)