Trait std::ops::DispatchFromDyn
pub trait DispatchFromDyn<T> { }
???? This is a nightly-only experimental API. (
dispatch_from_dyn
)This is used for object safety, to check that a method’s receiver type can be dispatched on.
An example implementation of the trait:
impl<T: ?Sized, U: ?Sized> DispatchFromDyn<Rc<U>> for Rc<T> where T: Unsize<U>, {}
Implementors
[src]1.33.0
impl<P, U> DispatchFromDyn<Pin<U>> for Pin<P> where
P: DispatchFromDyn<U>,
impl<T, U> DispatchFromDyn<Box<U, Global>> for Box<T, Global> where
T: Unsize<U> + ?Sized,
U: ?Sized,
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/ops/trait.DispatchFromDyn.html