2016-10-23 18:54:31 -07:00
|
|
|
pub trait X {
|
2016-11-14 09:23:17 -08:00
|
|
|
const CONSTANT: u32;
|
|
|
|
type Type;
|
|
|
|
fn method(&self, s: String) -> Self::Type;
|
2020-04-16 11:28:49 +02:00
|
|
|
fn method2(self: Box<Self>, s: String) -> Self::Type;
|
|
|
|
fn method3(other: &Self, s: String) -> Self::Type;
|
|
|
|
fn method4(&self, other: &Self) -> Self::Type;
|
2020-04-16 14:04:12 +02:00
|
|
|
fn method5(self: &Box<Self>) -> Self::Type;
|
2016-05-19 14:00:43 +02:00
|
|
|
}
|