<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `BrowserWindowBuilder` struct in crate `browser_window`."><meta name="keywords" content="rust, rustlang, rust-lang, BrowserWindowBuilder"><title>browser_window::browser::BrowserWindowBuilder - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../browser_window/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Struct BrowserWindowBuilder</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.async_handler">async_handler</a><a href="#method.build">build</a><a href="#method.dev_tools">dev_tools</a><a href="#method.new">new</a></div><a class="sidebar-title" href="#deref-methods">Methods from Deref<Target=WindowBuilder></a><div class="sidebar-links"><a href="#method.borders">borders</a><a href="#method.height">height</a><a href="#method.minimizable">minimizable</a><a href="#method.parent">parent</a><a href="#method.resizable">resizable</a><a href="#method.size">size</a><a href="#method.title">title</a><a href="#method.width">width</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Deref">Deref</a><a href="#impl-DerefMut">DerefMut</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='../index.html'>browser_window</a>::<wbr><a href='index.html'>browser</a></p><script>window.sidebarCurrent = {name: 'BrowserWindowBuilder', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#72-78' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='../index.html'>browser_window</a>::<wbr><a href='index.html'>browser</a>::<wbr><a class="struct" href=''>BrowserWindowBuilder</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct BrowserWindowBuilder { /* fields omitted */ }</pre></div><div class='docblock'><p>Used to create a <a href="../../browser_window/browser/struct.BrowserWindow.html" title="BrowserWindow"><code>BrowserWindow</code></a> or <a href="../../browser_window/browser/struct.BrowserWindowThreaded.html" title="BrowserWindowThreaded"><code>BrowserWindowThreaded</code></a> instance, depending on whether or not you have feature <code>threadsafe</code> enabled.</p>
<h1 id="warning" class="section-header"><a href="#warning">Warning</a></h1>
<p><code>BrowserWindowBuilder</code> dereferences to <code>WindowBuilder</code>, so that you can modify anything related to the window as well.
This comes with a catch though.
If you call any functions from <code>WindowBuilder</code>, they return a reference to <code>WindowBuilder</code>.
So the following doesn't work:</p>
<div class='information'><div class='tooltip ignore'>ⓘ<span class='tooltiptext'>This example is not tested</span></div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
<span class="kw">let</span> <span class="ident">bwb</span> <span class="op">=</span> <span class="ident">BrowserWindowBuilder</span>::<span class="ident">new</span>( <span class="ident">Source</span>::<span class="ident">Url</span>(<span class="string">"https://www.duckduckgo.com"</span>.<span class="ident">into</span>()) )
.<span class="ident">title</span>(<span class="string">"DuckDuckGo"</span>)
.<span class="ident">dev_tools</span>(<span class="bool-val">true</span>);</pre></div>
<p>This is because the call to <code>title</code> returns a reference to <code>WindowBuilder</code>, which doesn't have a method <code>dev_tools</code>.</p>
<p>The following is also wrong:</p>
<div class='information'><div class='tooltip ignore'>ⓘ<span class='tooltiptext'>This example is not tested</span></div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
<span class="kw">let</span> <span class="ident">bw</span> <span class="op">=</span> <span class="ident">BrowserWindowBuilder</span>::<span class="ident">new</span>( <span class="ident">Source</span>::<span class="ident">Url</span>(<span class="string">"https://www.duckduckgo.com"</span>.<span class="ident">into</span>()) )
.<span class="ident">dev_tools</span>(<span class="bool-val">true</span>)
.<span class="ident">title</span>(<span class="string">"DuckDuckGo"</span>)
.<span class="ident">build</span>( <span class="ident">app</span> );</pre></div>
<p>This is because <em>Browser Window</em> currently does not support creating windows that don't have browsers in them.
<code>build</code> is a method of <code>BrowserWindowBuilder</code>, yet <code>title</code> returns a reference to <code>WindowBuilder</code>, which has no <code>build</code> method.</p>
<p>The solution is to do this:</p>
<div class='information'><div class='tooltip ignore'>ⓘ<span class='tooltiptext'>This example is not tested</span></div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">bwb</span> <span class="op">=</span> <span class="ident">BrowserWindowBuilder</span>::<span class="ident">new</span>( <span class="ident">Source</span>::<span class="ident">Url</span>(<span class="string">"https://www.duckduckgo.com"</span>.<span class="ident">into</span>()) )
.<span class="ident">dev_tools</span>(<span class="bool-val">true</span>);
<span class="ident">bwb</span>.<span class="ident">title</span>(<span class="string">"DuckDuckGo"</span>);
<span class="kw">let</span> <span class="ident">bw</span> <span class="op">=</span> <span class="ident">bwb</span>.<span class="ident">build</span>( <span class="ident">app</span> );</pre></div>
</div><h2 id='implementations' class='small-section-header'>Implementations<a href='#implementations' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#82-272' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.async_handler' class="method"><code>pub fn <a href='#method.async_handler' class='fnname'>async_handler</a><H, F>(&mut self, handler: H) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="struct" href="../../browser_window/browser/struct.BrowserWindowHandle.html" title="struct browser_window::browser::BrowserWindowHandle">BrowserWindowHandle</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> F + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + 'static, </span></code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#102-110' title='goto source code'>[src]</a></h4><div class='docblock'><p>Configure a closure that can be invoked from within JavaScript.
The closure's second parameter specifies a command name.
The closure's third parameter specifies an array of string arguments.</p>
</div><h4 id='method.dev_tools' class="method"><code>pub fn <a href='#method.dev_tools' class='fnname'>dev_tools</a>(&mut self, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#115-117' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether or not an extra window with developer tools will be opened together with this browser.
When in debug mode the default is <code>true</code>.
When in release mode the default is <code>false</code>.</p>
</div><h4 id='method.new' class="method"><code>pub fn <a href='#method.new' class='fnname'>new</a>(source: <a class="enum" href="../../browser_window/browser/enum.Source.html" title="enum browser_window::browser::Source">Source</a>) -> Self</code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#132-139' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates an instance of a browser window builder.</p>
<h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1>
<ul>
<li><code>source</code> - The content that will be displayed in the browser window.</li>
</ul>
</div><h4 id='method.build' class="method"><code>pub async fn <a href='#method.build' class='fnname'>build</a>(<br> self, <br> app: <a class="struct" href="../../browser_window/application/struct.ApplicationHandleThreaded.html" title="struct browser_window::application::ApplicationHandleThreaded">ApplicationHandleThreaded</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../browser_window/browser/struct.BrowserWindowThreaded.html" title="struct browser_window::browser::BrowserWindowThreaded">BrowserWindowThreaded</a>, <a class="enum" href="../../browser_window/enum.DelegateError.html" title="enum browser_window::DelegateError">DelegateError</a>></code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#171-187' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates the browser window.</p>
<p>Keep in mind that the description of this function is for when feature <code>threadsafe</code> is enabled.
When it is not enabled, it looks like this:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">pub</span> <span class="ident">async</span> <span class="kw">fn</span> <span class="ident">build</span>( <span class="self">self</span>, <span class="ident">app</span>: <span class="ident">ApplicationHandle</span> ) <span class="op">-</span><span class="op">></span> <span class="ident">BrowserWindow</span> { <span class="comment">/* ... */</span> }</pre></div>
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
<ul>
<li><code>app</code> - An (thread-safe) application handle.</li>
</ul>
</div></div><h2 id='deref-methods' class='small-section-header'>Methods from <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = <a class="struct" href="../../browser_window/window/struct.WindowBuilder.html" title="struct browser_window::window::WindowBuilder">WindowBuilder</a>><a href='#deref-methods' class='anchor'></a></h2><div class='impl-items'><h4 id='method.borders' class="method"><code>pub fn <a href='#method.borders' class='fnname'>borders</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#98-100' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether or not the window has borders.
Default is true.</p>
</div><h4 id='method.height' class="method"><code>pub fn <a href='#method.height' class='fnname'>height</a>(&mut self, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#141-144' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the height that the browser window will be created with initially</p>
</div><h4 id='method.minimizable' class="method"><code>pub fn <a href='#method.minimizable' class='fnname'>minimizable</a>(&mut self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#148-150' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether or not the window has a minimize button on the title bar
Default is true</p>
</div><h4 id='method.parent' class="method"><code>pub fn <a href='#method.parent' class='fnname'>parent</a><W>(&mut self, bw: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>W) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self <span class="where fmt-newline">where<br> W: <a class="trait" href="../../browser_window/window/trait.OwnedWindow.html" title="trait browser_window::window::OwnedWindow">OwnedWindow</a>, </span></code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#162-167' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the opacity of the window.
An opacity of 255 is the default and means the window is fully visible.
An lower opacity means the window will be transparent.
Configure a parent window.
When a parent window closes, this browser window will close as well.
This could be a reference to a <code>Browser</code> or <code>BrowserThreaded</code> handle.</p>
</div><h4 id='method.size' class="method"><code>pub fn <a href='#method.size' class='fnname'>size</a>(&mut self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#183-187' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the width and height of the browser window</p>
</div><h4 id='method.title' class="method"><code>pub fn <a href='#method.title' class='fnname'>title</a><S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>>(&mut self, title: S) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#190-193' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the title of the window.</p>
</div><h4 id='method.width' class="method"><code>pub fn <a href='#method.width' class='fnname'>width</a>(&mut self, width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#197-200' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets the width that the browser window will be created with initially.</p>
</div><h4 id='method.resizable' class="method"><code>pub fn <a href='#method.resizable' class='fnname'>resizable</a>(&mut self, resizable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code><a class='srclink' href='../../src/browser_window/window/builder.rs.html#204-206' title='goto source code'>[src]</a></h4><div class='docblock'><p>Sets whether or not the window will be resizable.
Default is true.</p>
</div></div><h2 id='trait-implementations' class='small-section-header'>Trait Implementations<a href='#trait-implementations' class='anchor'></a></h2><div id='trait-implementations-list'><h3 id='impl-Deref' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#274-280' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Target' class="type"><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = <a class="struct" href="../../browser_window/window/struct.WindowBuilder.html" title="struct browser_window::window::WindowBuilder">WindowBuilder</a></code></h4><div class='docblock'><p>The resulting type after dereferencing.</p>
</div><h4 id='method.deref' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&self) -> &Self::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#277-279' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Dereferences the value.</p>
</div></div><h3 id='impl-DerefMut' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-DerefMut' class='anchor'></a><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#282-287' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.deref_mut' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut' class='fnname'>deref_mut</a>(&mut self) -> &mut Self::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></code><a class='srclink' href='../../src/browser_window/browser/builder.rs.html#284-286' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably dereferences the value.</p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../browser_window/browser/struct.BrowserWindowBuilder.html" title="struct browser_window::browser::BrowserWindowBuilder">BrowserWindowBuilder</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#108-112' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#109-111' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210-214' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211-213' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217-221' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#551-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#552-554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#540-547' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#544-546' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588-597' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#594-596' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#574-583' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#580-582' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "browser_window";</script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>