# Enum `kurogane::BrowserType`

```rust
#[non_exhaustive]
pub enum BrowserType {
    Main,
    Popup,
    DevTools,
    Osr,
    ChromeUi,
}
```

Kind of a browser.

## Variants

### `Main`

```rust
Main
```

The start window's browser, a browser of
[`AppInstance::create_window`](https://kurogane-rs.org/docs/api/app/appinstance.md#method.create_window) or one
embedded with
[`AppInstance::create_child_browser`](https://kurogane-rs.org/docs/api/app/appinstance.md#method.create_child_browser).

[crate::AppInstance::create_window]: https://kurogane-rs.org/docs/api/app/appinstance.md#method.create_window
[crate::AppInstance::create_child_browser]: https://kurogane-rs.org/docs/api/app/appinstance.md#method.create_child_browser

### `Popup`

```rust
Popup
```

A window a page opened. Its parent is the browser that opened it.

### `DevTools`

```rust
DevTools
```

Chromium's developer tools. Its parent is the browser it inspects.

### `Osr`

```rust
Osr
```

### `ChromeUi`

```rust
ChromeUi
```

A browser Chromium opened on its own, such as a window restored from an
earlier session. It closes with the application rather than keeping
it running.

## Trait implementations

- `impl Clone for BrowserType`
- `impl Copy for BrowserType`
- `impl Debug for BrowserType`
- `impl Eq for BrowserType`
- `impl PartialEq for BrowserType`

Source: https://github.com/0x48piraj/kurogane/blob/584c586118ee53cc04604007ee038557bd859092/kurogane/src/browser_registry.rs#L31
