# Struct `kurogane::BrowserBounds`

```rust
pub struct BrowserBounds {
    pub x: i32,
    pub y: i32,
    pub width: i32,
    pub height: i32,
}
```

A browser's place inside its parent window, for
[`AppInstance::create_child_browser`] and [`BrowserHandle::set_bounds`].
It is a position and a size in that window's own coordinates, which CEF
applies unconverted. Pixels from the top-left of the client area on
Windows and X11; on macOS, points in the parent `NSView`, whose origin is
its top-left corner when the view is flipped (winit's is) and its
bottom-left corner otherwise.

A window's place on the screen is a
[`WindowPlacement`](https://kurogane-rs.org/docs/api/windows/windowplacement.md).

[`AppInstance::create_child_browser`]: https://kurogane-rs.org/docs/api/app/appinstance.md#method.create_child_browser
[`BrowserHandle::set_bounds`]: https://kurogane-rs.org/docs/api/app/browserhandle.md#method.set_bounds
[crate::WindowPlacement]: https://kurogane-rs.org/docs/api/windows/windowplacement.md

## Fields

### `x`

```rust
pub x: i32
```

### `y`

```rust
pub y: i32
```

### `width`

```rust
pub width: i32
```

### `height`

```rust
pub height: i32
```

## Trait implementations

- `impl Clone for BrowserBounds`
- `impl Copy for BrowserBounds`
- `impl Debug for BrowserBounds`
- `impl Default for BrowserBounds`
- `impl Eq for BrowserBounds`
- `impl PartialEq for BrowserBounds`

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