Commit graph

168 commits

Author SHA1 Message Date
Tianyi
aa945ae7b6 it worked! From dyn Tag into any concrete tag without cloning 2020-10-29 13:26:35 +00:00
Tianyi
6e10a0b93d use TryFrom instead of From for downcasting because it could fail 2020-10-27 22:55:45 +00:00
Tianyi
0418d98955 impl downcasts
just accidentally discovered that I could write impl From<Box<dyn xxx>>
2020-10-27 22:24:05 +00:00
Tianyi
ff2e0c6959 RTFM 2020-10-27 20:26:59 +00:00
Tianyi
f65addee9b RTFM 2020-10-27 19:57:27 +00:00
Tianyi Shi
fececf76e9 black magic 2020-10-27 15:33:19 +00:00
Tianyi Shi
47ae10071a downcast 2020-10-27 15:24:54 +00:00
Tianyi Shi
c72f09d3e2 add frominner and intoinner traits 2020-10-27 15:00:22 +00:00
Tianyi Shi
873a6e831d refactor 2020-10-27 14:38:31 +00:00
Tianyi Shi
d0b2409164 remove cow 2020-10-27 12:43:32 +00:00
Tianyi
d4af2dcb03 prevent clone 2020-10-27 12:01:15 +00:00
Tianyi
6abb1e9d4d config 2020-10-27 11:40:51 +00:00
Tianyi
d2d1bedafa v0.2.3 2020-10-27 02:40:57 +00:00
Tianyi
bf71a050df 0.2.2 2020-10-27 00:52:29 +00:00
Tianyi
7450d36348 convert tags; 0.2.0 2020-10-26 20:43:11 +00:00
Tianyi
3b1280fcee cow 2020-10-26 15:37:10 +00:00
Tianyi
caabc9a3e5 refactor 2020-10-26 02:14:28 +00:00
Tianyi
aabb741a6c add some tests 2020-10-26 01:43:18 +00:00