Struct dioxus_use_window::UseWindow
source · pub struct UseWindow { /* private fields */ }
Expand description
Window size effect handler
Implementations§
source§impl UseWindow
impl UseWindow
sourcepub fn as_width(self) -> UseWindowWidth
pub fn as_width(self) -> UseWindowWidth
using as [WindowWidth
]
sourcepub fn as_height(self) -> UseWindowHeight
pub fn as_height(self) -> UseWindowHeight
using as [WindowHeight
]
sourcepub fn as_layout<T>(self) -> UseWindowLayout<T>
pub fn as_layout<T>(self) -> UseWindowLayout<T>
using as [WindowLayout
]