Trait downcast_rs::DowncastSync [−][src]
pub trait DowncastSync: Downcast + Send + Sync { fn into_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>; }
Extends Downcast
to support Sync
traits that thus support Arc
downcasting as well.
Required methods
fn into_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>
[src]
Convert Arc<Trait>
(where Trait: Downcast
) to Arc<Any>
. Arc<Any>
can then be
further downcast
into Arc<ConcreteType>
where ConcreteType
implements Trait
.
Implementors
Loading content...