2018-01-23 04:22:20 +00:00
|
|
|
#[derive(Clone)]
|
|
|
|
pub struct MaskedStruct;
|
|
|
|
|
|
|
|
pub trait MaskedTrait {
|
|
|
|
fn masked_method();
|
|
|
|
}
|
|
|
|
|
|
|
|
impl MaskedTrait for String {
|
|
|
|
fn masked_method() {}
|
|
|
|
}
|
2022-10-19 08:43:21 -07:00
|
|
|
|
|
|
|
pub trait MaskedBlanketTrait {}
|
|
|
|
|
|
|
|
impl<T> MaskedBlanketTrait for T {}
|