File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Keywords
4
4
5
- * ` as ` : primitive casting. See [ Casting Between Types (` as ` )] .
5
+ * ` as ` : primitive casting, or part of UFCS . See [ Casting Between Types (` as ` ) ] , [ Universal Function Call Syntax (Angle-bracket Form )] .
6
6
* ` break ` : break out of loop. See [ Loops (Ending Iteration Early)] .
7
7
* ` const ` : constant items and constant raw pointers. See [ ` const ` and ` static ` ] , [ Raw Pointers] .
8
8
* ` continue ` : continue to next loop iteration. See [ Loops (Ending Iteration Early)] .
117
117
* ` super::path ` : path relative to the parent of the current module. See [ Crates and Modules (Re-exporting with ` pub use ` )] .
118
118
* ` type::ident ` : associated constants, functions, and types. See [ Associated Types] .
119
119
* ` <type>::… ` : associated item for a type which cannot be directly named (* e.g.* ` <&T>::… ` , ` <[T]>::… ` , * etc.* ). See [ Associated Types] .
120
+ * ` Trait::method(…) ` : disambiguating a method call by naming the trait which defines it. See [ Universal Function Call Syntax] .
121
+ * ` Type::method(…) ` : disambiguating a method call by naming the type for which it's defined. See [ Universal Function Call Syntax] .
122
+ * ` <Type as Trait>::method(…) ` : disambiguating a method call by naming the trait _ and_ type. See [ Universal Function Call Syntax (Angle-bracket Form)] .
120
123
121
124
<!-- Generics -->
122
125
234
237
[ Traits (`where` clause) ] : traits.html#where-clause
235
238
[ Traits (Multiple Trait Bounds) ] : traits.html#multiple-trait-bounds
236
239
[ Traits ] : traits.html
240
+ [ Universal Function Call Syntax ] : ufcs.html
241
+ [ Universal Function Call Syntax (Angle-bracket Form) ] : ufcs.html#angle-bracket-form
237
242
[ Unsafe ] : unsafe.html
238
243
[ Unsized Types (`?Sized`) ] : unsized-types.html#sized
239
244
[ Variable Bindings ] : variable-bindings.html
You can’t perform that action at this time.
0 commit comments