1 2 3 4 5 6 7 8 9 10 11 12
use formatter::Formatter; #[derive(Copy)] pub struct Nil; impl Nil { pub fn new() -> Nil { Nil } } impl Formatter for Nil {}
1 2 3 4 5 6 7 8 9 10 11 12
use formatter::Formatter; #[derive(Copy)] pub struct Nil; impl Nil { pub fn new() -> Nil { Nil } } impl Formatter for Nil {}
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).