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