1 // rustfmt-normalize_comments: true
2 impl Foo for Bar { fn foo() { "hi" } }
5 // Associated Constants
17 impl Visible for Bar {
24 pub unsafe impl<'a, 'b, X, Y: Foo<Bar>> !Foo<'a, X> for Bar<'b, Y> where X: Foo<'a, Z> {
28 impl<'a, 'b, X, Y: Foo<Bar>> Foo<'a, X> for Bar<'b, Y> where X: Fooooooooooooooooooooooooooooo<'a, Z>
33 impl<'a, 'b, X, Y: Foo<Bar>> Foo<'a, X> for Bar<'b, Y> where X: Foooooooooooooooooooooooooooo<'a, Z>
38 impl<T> Foo for Bar<T> where T: Baz
42 impl<T> Foo for Bar<T> where T: Baz { /* Comment */ }
74 impl Foo { add_fun!(); }
81 impl X { fn do_parse( mut self : X ) {} }
84 fn bar(self: X< 'a , 'b >, y: Y) {}
86 fn bad(&self, ( x, y): CoorT) {}
88 fn turbo_bad(self: X< 'a , 'b > , ( x, y): CoorT) {
93 pub impl<T> Foo for Bar<T> where T: Foo
98 pub impl<T, Z> Foo for Bar<T, Z> where T: Foo, Z: Baz {}
101 impl<T> PartialEq for S<T> where T: PartialEq {
102 fn eq(&self, other: &Self) {
107 impl<T> PartialEq for S<T> where T: PartialEq { }
110 impl<BorrowType, K, V, NodeType, HandleType> Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
113 impl<BorrowType, K, V, NodeType, HandleType> PartialEq for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
124 impl<ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNodeFoo> Issue1249<ConcreteThreadSafeLayoutNode> {
125 // Creates a new flow constructor.
130 impl<#[may_dangle] K, #[may_dangle] V> Drop for RawTable<K, V> {
135 pub trait Number: Copy + Eq + Not<Output = Self> + Shl<u8, Output = Self> +
136 Shr<u8, Output = Self> +
137 BitAnd<Self, Output=Self> + BitOr<Self, Output=Self> + BitAndAssign + BitOrAssign
147 pub trait SomeTrait : Clone + Eq + PartialEq + Ord + PartialOrd + Default + Hash + Debug + Display + Write + Read + FromStr {
155 aaaaaaaaaa: aaaaaaaaaa,
156 bbbbbbbbbb: bbbbbbbbbb,
157 cccccccccc: cccccccccc,
165 impl<'a, 'b, 'c> SomeThing<Something> for (&'a mut SomethingLong, &'b mut SomethingLong, &'c mut SomethingLong) {
170 impl<'seq1, 'seq2, 'body, 'scope, Channel> Adc12< Dual, MasterRunningDma<'seq1, 'body, 'scope, Channel>, SlaveRunningDma<'seq2, 'body, 'scope>, > where Channel: DmaChannel, {}
173 impl const std::default::Default for Struct {
175 fn default() -> Self {