2018-06-22 22:25:56 -04:00
|
|
|
pub trait OwnedTrait<'a> {
|
|
|
|
type Reader;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has static_region/struct.Owned.html
|
2021-07-25 21:41:57 +00:00
|
|
|
// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
|
2021-06-02 10:59:10 +02:00
|
|
|
// "impl<T> Send for Owned<T> where <T as OwnedTrait<'static>>::Reader: Send"
|
2018-06-22 22:25:56 -04:00
|
|
|
pub struct Owned<T> where T: OwnedTrait<'static> {
|
|
|
|
marker: <T as OwnedTrait<'static>>::Reader,
|
|
|
|
}
|