dioxus_use_window/hooks/use_browser/
display.rs

1use super::*;
2impl Display for UseBrowser {
3    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
4        Display::fmt(&self.width(), f)
5    }
6}
7impl From<UseWindow> for UseBrowser {
8    fn from(size: UseWindow) -> Self {
9        Self::new(size)
10    }
11}