pub struct AsyncDataTransferRef(pub Rc<dyn IAsyncDataTransfer>);Expand description
A data transfer that is read asynchronously (IAsyncDataTransfer).
Tuple Fields§
§0: Rc<dyn IAsyncDataTransfer>Implementations§
Source§impl AsyncDataTransferRef
impl AsyncDataTransferRef
Sourcepub fn new(value: Rc<dyn IAsyncDataTransfer>) -> Self
pub fn new(value: Rc<dyn IAsyncDataTransfer>) -> Self
The handle of value.
Sourcepub fn get(&self) -> &Rc<dyn IAsyncDataTransfer>
pub fn get(&self) -> &Rc<dyn IAsyncDataTransfer>
The shared object.
Trait Implementations§
Source§impl Clone for AsyncDataTransferRef
impl Clone for AsyncDataTransferRef
Source§impl Debug for AsyncDataTransferRef
impl Debug for AsyncDataTransferRef
Source§impl Deref for AsyncDataTransferRef
impl Deref for AsyncDataTransferRef
Source§type Target = dyn IAsyncDataTransfer
type Target = dyn IAsyncDataTransfer
The resulting type after dereferencing.
Source§fn deref(&self) -> &(dyn IAsyncDataTransfer + 'static)
fn deref(&self) -> &(dyn IAsyncDataTransfer + 'static)
Dereferences the value.
Source§impl From<Rc<dyn IAsyncDataTransfer>> for AsyncDataTransferRef
impl From<Rc<dyn IAsyncDataTransfer>> for AsyncDataTransferRef
Source§fn from(value: Rc<dyn IAsyncDataTransfer>) -> Self
fn from(value: Rc<dyn IAsyncDataTransfer>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncDataTransferRef
impl !Send for AsyncDataTransferRef
impl !Sync for AsyncDataTransferRef
impl !UnwindSafe for AsyncDataTransferRef
impl Freeze for AsyncDataTransferRef
impl Unpin for AsyncDataTransferRef
impl UnsafeUnpin for AsyncDataTransferRef
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more