Struct tauri_runtime_wry::WryDispatcher [−][src]
pub struct WryDispatcher { /* fields omitted */ }
Trait Implementations
impl Clone for WryDispatcher
[src]
impl Clone for WryDispatcher
[src]fn clone(&self) -> WryDispatcher
[src]
fn clone(&self) -> WryDispatcher
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Dispatch for WryDispatcher
[src]
impl Dispatch for WryDispatcher
[src]type WindowBuilder = WindowBuilderWrapper
type WindowBuilder = WindowBuilderWrapper
The winoow builder type.
fn run_on_main_thread<F: FnOnce() + Send + 'static>(&self, f: F) -> Result<()>
[src]
fn run_on_main_thread<F: FnOnce() + Send + 'static>(&self, f: F) -> Result<()>
[src]Run a task on the main thread.
fn on_window_event<F: Fn(&WindowEvent) + Send + 'static>(&self, f: F) -> Uuid
[src]
fn on_window_event<F: Fn(&WindowEvent) + Send + 'static>(&self, f: F) -> Uuid
[src]Registers a window event handler.
fn scale_factor(&self) -> Result<f64>
[src]
fn scale_factor(&self) -> Result<f64>
[src]Returns the scale factor that can be used to map logical pixels to physical pixels, and vice versa.
fn inner_position(&self) -> Result<PhysicalPosition<i32>>
[src]
fn inner_position(&self) -> Result<PhysicalPosition<i32>>
[src]Returns the position of the top-left hand corner of the window’s client area relative to the top-left hand corner of the desktop.
fn outer_position(&self) -> Result<PhysicalPosition<i32>>
[src]
fn outer_position(&self) -> Result<PhysicalPosition<i32>>
[src]Returns the position of the top-left hand corner of the window relative to the top-left hand corner of the desktop.
fn inner_size(&self) -> Result<PhysicalSize<u32>>
[src]
fn inner_size(&self) -> Result<PhysicalSize<u32>>
[src]Returns the physical size of the window’s client area. Read more
fn outer_size(&self) -> Result<PhysicalSize<u32>>
[src]
fn outer_size(&self) -> Result<PhysicalSize<u32>>
[src]Returns the physical size of the entire window. Read more
fn is_fullscreen(&self) -> Result<bool>
[src]
fn is_fullscreen(&self) -> Result<bool>
[src]Gets the window’s current fullscreen state.
fn is_maximized(&self) -> Result<bool>
[src]
fn is_maximized(&self) -> Result<bool>
[src]Gets the window’s current maximized state.
fn current_monitor(&self) -> Result<Option<Monitor>>
[src]
fn current_monitor(&self) -> Result<Option<Monitor>>
[src]Returns the monitor on which the window currently resides. Read more
fn primary_monitor(&self) -> Result<Option<Monitor>>
[src]
fn primary_monitor(&self) -> Result<Option<Monitor>>
[src]Returns the primary monitor of the system. Read more
fn available_monitors(&self) -> Result<Vec<Monitor>>
[src]
fn available_monitors(&self) -> Result<Vec<Monitor>>
[src]Returns the list of all the monitors available on the system.
fn create_window<P: Params<Runtime = Self::Runtime>>(
&mut self,
pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>
[src]
fn create_window<P: Params<Runtime = Self::Runtime>>(
&mut self,
pending: PendingWindow<P>
) -> Result<DetachedWindow<P>>
[src]Create a new webview window.
fn set_resizable(&self, resizable: bool) -> Result<()>
[src]
fn set_resizable(&self, resizable: bool) -> Result<()>
[src]Updates the window resizable flag.
fn unmaximize(&self) -> Result<()>
[src]
fn unmaximize(&self) -> Result<()>
[src]Unmaximizes the window.
fn unminimize(&self) -> Result<()>
[src]
fn unminimize(&self) -> Result<()>
[src]Unminimizes the window.
fn set_decorations(&self, decorations: bool) -> Result<()>
[src]
fn set_decorations(&self, decorations: bool) -> Result<()>
[src]Updates the hasDecorations flag.
fn set_always_on_top(&self, always_on_top: bool) -> Result<()>
[src]
fn set_always_on_top(&self, always_on_top: bool) -> Result<()>
[src]Updates the window alwaysOnTop flag.
fn set_position(&self, position: Position) -> Result<()>
[src]
fn set_position(&self, position: Position) -> Result<()>
[src]Updates the window position.
fn set_fullscreen(&self, fullscreen: bool) -> Result<()>
[src]
fn set_fullscreen(&self, fullscreen: bool) -> Result<()>
[src]Updates the window fullscreen state.
fn start_dragging(&self) -> Result<()>
[src]
fn start_dragging(&self) -> Result<()>
[src]Starts dragging the window.
Auto Trait Implementations
impl !RefUnwindSafe for WryDispatcher
impl Send for WryDispatcher
impl !Sync for WryDispatcher
impl Unpin for WryDispatcher
impl !UnwindSafe for WryDispatcher
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> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more