MCPcopy Create free account
hub / github.com/bajrangCoder/setu / set_method

Method set_method

src/components/custom_dropdown.rs:59–62  ·  view source on GitHub ↗
(&mut self, method: HttpMethod, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

57 if !self.is_open || self.closing_at.is_some() {
58 return;
59 }
60 self.is_open = false;
61 self.close_time = Some(std::time::Instant::now());
62 if motion::reduced_motion(cx) {
63 self.closing_at = None;
64 self.close_epoch = self.close_epoch.wrapping_add(1);
65 cx.notify();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected