MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / rect

Method rect

primitives/src/move_interaction.rs:87–89  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

85
86impl MoveInteraction {
87 pub(crate) fn rect(&self) -> Option<Rect<f64, Pixels>> {
88 self.rect.cloned()
89 }
90
91 pub(crate) async fn set_mounted(&mut self, mounted: Rc<MountedData>) {
92 if let Ok(rect) = mounted.get_client_rect().await {

Callers 2

ColorAreaFunction · 0.80
SliderImplFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected