topics table
This commit is contained in:
parent
2c24dca215
commit
e020a098d0
@ -11,3 +11,5 @@
|
|||||||
- [Chapter 2](./chapter_2.md)
|
- [Chapter 2](./chapter_2.md)
|
||||||
- [AnyStr](./exercises/anystr.md)
|
- [AnyStr](./exercises/anystr.md)
|
||||||
- [Mode](./exercises/mode.md)
|
- [Mode](./exercises/mode.md)
|
||||||
|
|
||||||
|
[Topics (Spoilers)](./topics.md)
|
||||||
|
@ -41,8 +41,7 @@ fn test2(x: impl A2) {
|
|||||||
# fn ap_move(t: Self::T) -> Self::T;
|
# fn ap_move(t: Self::T) -> Self::T;
|
||||||
# }
|
# }
|
||||||
# trait AWrapper: Wrapper<Self::AWrapped> { type AWrapped; }
|
# trait AWrapper: Wrapper<Self::AWrapped> { type AWrapped; }
|
||||||
# impl<T: AWrapper> A for T where T::AWrapped: AProxy<T = T>,
|
# impl<T: AWrapper> A for T where T::AWrapped: AProxy<T = T> {
|
||||||
# {
|
|
||||||
# fn a_ref(&self) -> u64 { <T::AWrapped as AProxy>::ap_ref(self) }
|
# fn a_ref(&self) -> u64 { <T::AWrapped as AProxy>::ap_ref(self) }
|
||||||
# fn a_mut(&mut self) -> bool { <T::AWrapped as AProxy>::ap_mut(self) }
|
# fn a_mut(&mut self) -> bool { <T::AWrapped as AProxy>::ap_mut(self) }
|
||||||
# fn a_move(self) -> Self { <T::AWrapped as AProxy>::ap_move(self) }
|
# fn a_move(self) -> Self { <T::AWrapped as AProxy>::ap_move(self) }
|
||||||
|
19
src/topics.md
Normal file
19
src/topics.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Topics
|
||||||
|
|
||||||
|
Rows are ordered based on estimated difficulty.
|
||||||
|
|
||||||
|
| lifetimes | `trait`s | `struct`s |
|
||||||
|
|------------------------|--------------------|-------------|
|
||||||
|
| [explicit lifetimes] | [`Fn`?] | |
|
||||||
|
| [extracting lifetimes] | [exclusive traits] | [`RcChars`] |
|
||||||
|
| | [`AnyStr`] | |
|
||||||
|
| | [merging traits] | |
|
||||||
|
|
||||||
|
|
||||||
|
[explicit lifetimes]: ./exercises/refbind.md
|
||||||
|
[`Fn`?]: ./exercises/bind.md
|
||||||
|
[`RcChars`]: ./exercises/rcchars.md
|
||||||
|
[extracting lifetimes]: ./exercises/bool_stream.md
|
||||||
|
[exclusive traits]: ./exercises/multiple_blanket.md
|
||||||
|
[merging traits]: ./exercises/modes.md
|
||||||
|
[`AnyStr`]: ./exercises/anystr.md
|
Loading…
Reference in New Issue
Block a user