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]
Trait Implementations§
Source§impl From<UseWindow> for UseBrowser
impl From<UseWindow> for UseBrowser
Source§impl From<UseWindow> for UseWindowHeight
impl From<UseWindow> for UseWindowHeight
Source§impl<T> From<UseWindow> for UseWindowLayout<T>
impl<T> From<UseWindow> for UseWindowLayout<T>
Auto Trait Implementations§
impl Freeze for UseWindow
impl !RefUnwindSafe for UseWindow
impl !Send for UseWindow
impl !Sync for UseWindow
impl Unpin for UseWindow
impl !UnwindSafe for UseWindow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more