Struct windows_core::AgileReference
#[repr(transparent)]pub struct AgileReference<T>(_, _);
Expand description
A type representing an agile reference to a COM/WinRT object.
Implementations§
§impl<T: ComInterface> AgileReference<T>
impl<T: ComInterface> AgileReference<T>
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<AgileReference<T>> for AgileReference<T>
impl<T: PartialEq> PartialEq<AgileReference<T>> 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: ComInterface> Send for AgileReference<T>
impl<T> StructuralEq for AgileReference<T>
impl<T> StructuralPartialEq for AgileReference<T>
impl<T: ComInterface> Sync for AgileReference<T>
Auto Trait Implementations§
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