mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
15 lines
222 B
Rust
15 lines
222 B
Rust
#[derive(Clone)]
|
|
pub struct MaskedStruct;
|
|
|
|
pub trait MaskedTrait {
|
|
fn masked_method();
|
|
}
|
|
|
|
impl MaskedTrait for String {
|
|
fn masked_method() {}
|
|
}
|
|
|
|
pub trait MaskedBlanketTrait {}
|
|
|
|
impl<T> MaskedBlanketTrait for T {}
|