Struct yew::services::ResizeService [−][src]
pub struct ResizeService {}
Expand description
A service which fires events when the browser window is resized.
Implementations
impl ResizeService
[src]
impl ResizeService
[src]pub fn register(callback: Callback<WindowDimensions>) -> ResizeTask
[src]
pub fn register(callback: Callback<WindowDimensions>) -> ResizeTask
[src]Register a callback that will be called when the browser window resizes.
Trait Implementations
impl Debug for ResizeService
[src]
impl Debug for ResizeService
[src]impl Default for ResizeService
[src]
impl Default for ResizeService
[src]fn default() -> ResizeService
[src]
fn default() -> ResizeService
[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResizeService
impl Send for ResizeService
impl Sync for ResizeService
impl Unpin for ResizeService
impl UnwindSafe for ResizeService
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: Any,
[src]
T: Any,