blob: 9fd58f1d71437dbae40b5d58950a5f5a7217f961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
pub struct S(pub u8);
impl S {
pub fn hey() -> u8 { 24 }
}
pub trait X {
fn hoy(&self) -> u8 { 25 }
}
impl X for S {}
pub enum E {
U(u8)
}
pub fn regular_fn() -> u8 { 12 }
|