mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
11 lines
365 B
Rust
11 lines
365 B
Rust
pub trait OwnedTrait<'a> {
|
|
type Reader;
|
|
}
|
|
|
|
//@ has static_region/struct.Owned.html
|
|
//@ has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
|
|
// "impl<T> Send for Owned<T>where <T as OwnedTrait<'static>>::Reader: Send"
|
|
pub struct Owned<T> where T: OwnedTrait<'static> {
|
|
marker: <T as OwnedTrait<'static>>::Reader,
|
|
}
|