Struct tauri_runtime_wry::WindowBuilderWrapper[][src]

pub struct WindowBuilderWrapper(_);

Trait Implementations

impl Clone for WindowBuilderWrapper[src]

fn clone(&self) -> WindowBuilderWrapper[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for WindowBuilderWrapper[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for WindowBuilderWrapper[src]

fn default() -> WindowBuilderWrapper[src]

Returns the “default value” for a type. Read more

impl WindowBuilder for WindowBuilderWrapper[src]

fn new() -> Self[src]

Initializes a new window attributes builder.

fn with_config(config: WindowConfig) -> Self[src]

Initializes a new webview builder from a WindowConfig

fn position(self, x: f64, y: f64) -> Self[src]

The initial position of the window’s.

fn inner_size(self, width: f64, height: f64) -> Self[src]

Window size.

fn min_inner_size(self, min_width: f64, min_height: f64) -> Self[src]

Window min inner size.

fn max_inner_size(self, max_width: f64, max_height: f64) -> Self[src]

Window max inner size.

fn resizable(self, resizable: bool) -> Self[src]

Whether the window is resizable or not.

fn title<S: Into<String>>(self, title: S) -> Self[src]

The title of the window in the title bar.

fn fullscreen(self, fullscreen: bool) -> Self[src]

Whether to start the window in fullscreen or not.

fn maximized(self, maximized: bool) -> Self[src]

Whether the window should be maximized upon creation.

fn visible(self, visible: bool) -> Self[src]

Whether the window should be immediately visible upon creation.

fn transparent(self, transparent: bool) -> Self[src]

Whether the the window should be transparent. If this is true, writing colors with alpha values different than 1.0 will produce a transparent window. Read more

fn decorations(self, decorations: bool) -> Self[src]

Whether the window should have borders and bars.

fn always_on_top(self, always_on_top: bool) -> Self[src]

Whether the window should always be on top of other windows.

fn icon(self, icon: Icon) -> Result<Self>[src]

Sets the window icon.

fn has_icon(&self) -> bool[src]

Whether the icon was set or not.

impl WindowBuilderBase for WindowBuilderWrapper[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.