Home
last modified time | relevance | path

Searched refs:match_arm (Results 1 – 25 of 79) sorted by relevance

1234

/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_assists/src/handlers/
H A Dmove_guard.rs37 let match_arm = ctx.find_node_at_offset::<MatchArm>()?; in move_guard_to_arm_body() localVariable
38 let guard = match_arm.guard()?; in move_guard_to_arm_body()
50 let arm_expr = match_arm.expr()?; in move_guard_to_arm_body()
103 let match_arm: MatchArm = ctx.find_node_at_offset::<MatchArm>()?; in move_arm_cond_to_match_guard() localVariable
104 let match_pat = match_arm.pat()?; in move_arm_cond_to_match_guard()
105 let arm_body = match_arm.expr()?; in move_arm_cond_to_match_guard()
140 match match_arm.syntax().last_child_or_token() { in move_arm_cond_to_match_guard()
144 edit.insert(match_arm.syntax().text_range().end(), ","); in move_arm_cond_to_match_guard()
160 let then_arm_end = match_arm.syntax().text_range().end(); in move_arm_cond_to_match_guard()
162 let indent_level = match_arm.indent_level(); in move_arm_cond_to_match_guard()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_assists/src/handlers/
H A Dmove_guard.rs36 let match_arm = ctx.find_node_at_offset::<MatchArm>()?; in move_guard_to_arm_body() localVariable
37 let guard = match_arm.guard()?; in move_guard_to_arm_body()
49 let arm_expr = match_arm.expr()?; in move_guard_to_arm_body()
102 let match_arm: MatchArm = ctx.find_node_at_offset::<MatchArm>()?; in move_arm_cond_to_match_guard() localVariable
103 let match_pat = match_arm.pat()?; in move_arm_cond_to_match_guard()
104 let arm_body = match_arm.expr()?; in move_arm_cond_to_match_guard()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/darling_core/src/options/
H A Dshape.rs170 let unit = match_arm("unit", self.unit); in to_tokens()
171 let newtype = match_arm("newtype", self.newtype); in to_tokens()
172 let named = match_arm("named", self.named); in to_tokens()
173 let tuple = match_arm("tuple", self.tuple); in to_tokens()
198 fn match_arm(name: &'static str, is_supported: bool) -> Tokens { in match_arm() function
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/darling_core-0.12.4/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/darling_core-0.12.4/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/darling_core-0.9.0/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/net/quiche/quiche-0.9.0/cargo-crates/darling_core-0.13.0/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/www/firefox/firefox-99.0/third_party/rust/darling_core/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/darling_core/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/www/ffsend/ffsend-ccd489ce2e75b91c0f17fbf13dbd91fe84f5ad98/cargo-crates/darling_core-0.12.4/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/darling_core-0.12.4/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/darling_core-0.10.1/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/darling_core/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/darling_core/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/editors/parinfer-rust/parinfer-rust-0.4.3/cargo-crates/darling_core-0.9.0/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/darling_core-0.10.2/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/darling_core-0.9.0/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit); in to_tokens()
195 let newtype = match_arm("newtype", self.newtype); in to_tokens()
196 let named = match_arm("named", self.named); in to_tokens()
197 let tuple = match_arm("tuple", self.tuple); in to_tokens()
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream { in match_arm() function
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/darling_core-0.9.0/src/options/
H A Dshape.rs194 let unit = match_arm("unit", self.unit);
195 let newtype = match_arm("newtype", self.newtype);
196 let named = match_arm("named", self.named);
197 let tuple = match_arm("tuple", self.tuple);
220 fn match_arm(name: &'static str, is_supported: bool) -> TokenStream {

1234