pub struct UseBrowser { /* private fields */ }Expand description
Window height effect handler
Implementations§
Source§impl UseBrowser
impl UseBrowser
Sourcepub fn aspect_radio(&self) -> f64
pub fn aspect_radio(&self) -> f64
get aspect radio of current window
Sourcepub fn resize_delta(&self, size: (i32, i32)) -> bool
pub fn resize_delta(&self, size: (i32, i32)) -> bool
get height of current window
Source§impl UseBrowser
impl UseBrowser
Sourcepub fn is_fullscreen(&self) -> bool
pub fn is_fullscreen(&self) -> bool
check if is full screen
Sourcepub fn fullscreen_toggle(&self) -> bool
pub fn fullscreen_toggle(&self) -> bool
get width of current browser
Sourcepub fn fullscreen_on(&self) -> bool
pub fn fullscreen_on(&self) -> bool
set full screen on
Sourcepub fn fullscreen_off(&self) -> bool
pub fn fullscreen_off(&self) -> bool
set full screen off
Trait Implementations§
Source§impl Debug for UseBrowser
impl Debug for UseBrowser
Source§impl Display for UseBrowser
impl Display for UseBrowser
Auto Trait Implementations§
impl Freeze for UseBrowser
impl !RefUnwindSafe for UseBrowser
impl !Send for UseBrowser
impl !Sync for UseBrowser
impl Unpin for UseBrowser
impl !UnwindSafe for UseBrowser
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