2018-06-22 21:25:56 -05:00
|
|
|
pub trait OwnedTrait<'a> {
|
|
|
|
type Reader;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has static_region/struct.Owned.html
|
2023-01-28 17:35:02 -06:00
|
|
|
// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
|
2022-08-31 10:05:46 -05:00
|
|
|
// "impl<T> Send for Owned<T>where <T as OwnedTrait<'static>>::Reader: Send"
|
2018-06-22 21:25:56 -05:00
|
|
|
pub struct Owned<T> where T: OwnedTrait<'static> {
|
|
|
|
marker: <T as OwnedTrait<'static>>::Reader,
|
|
|
|
}
|