Searched refs:TokensOrDefault (Results 1 – 16 of 16) sorted by relevance
4 pub struct TokensOrDefault<'a, T: 'a>(pub &'a Option<T>); struct6 impl<'a, T> ToTokens for TokensOrDefault<'a, T> implementation
876 use print::TokensOrDefault;884 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens()911 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens()921 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()950 TokensOrDefault(¶m.colon_token).to_tokens(tokens); in to_tokens()966 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()976 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()1014 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()1041 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()1052 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()[all …]
214 use print::TokensOrDefault;238 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()242 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
322 use print::TokensOrDefault;358 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
2213 use print::TokensOrDefault;2298 TokensOrDefault(&self.semi).to_tokens(tokens); in to_tokens()2338 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()2374 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2378 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2406 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()2561 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2574 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()2652 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
527 use print::TokensOrDefault;684 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
830 use print::TokensOrDefault;856 TokensOrDefault(&self.const_token).to_tokens(tokens); in to_tokens()
3043 use print::TokensOrDefault;3523 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()3739 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()3746 TokensOrDefault(&self.comma_token).to_tokens(tokens); in to_tokens()
902 use crate::print::TokensOrDefault;910 TokensOrDefault(&self.lt_token).to_tokens(tokens); in to_tokens()937 TokensOrDefault(&self.gt_token).to_tokens(tokens); in to_tokens()947 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()976 TokensOrDefault(¶m.colon_token).to_tokens(tokens); in to_tokens()992 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()1002 TokensOrDefault(&self.0.lt_token).to_tokens(tokens); in to_tokens()1040 TokensOrDefault(&self.0.gt_token).to_tokens(tokens); in to_tokens()1067 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()1078 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()[all …]
229 use crate::print::TokensOrDefault;253 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()257 TokensOrDefault(&data.semi_token).to_tokens(tokens); in to_tokens()
378 use crate::print::TokensOrDefault;414 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
567 use crate::print::TokensOrDefault;724 TokensOrDefault(&qself.as_token).to_tokens(tokens); in print_path()
2560 use crate::print::TokensOrDefault;2641 TokensOrDefault(&self.semi).to_tokens(tokens); in to_tokens()2700 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2704 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2732 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()2871 TokensOrDefault(&self.semi_token).to_tokens(tokens); in to_tokens()2884 TokensOrDefault(&self.colon_token).to_tokens(tokens); in to_tokens()
1000 use crate::print::TokensOrDefault;1026 TokensOrDefault(&self.const_token).to_tokens(tokens); in to_tokens()
2665 use crate::print::TokensOrDefault;3133 TokensOrDefault(&self.dot2_token).to_tokens(tokens); in to_tokens()